java.lang.Object
com.azure.core.util.ExpandableStringEnum<ApiType>
com.azure.resourcemanager.cosmos.models.ApiType

public final class ApiType extends com.azure.core.util.ExpandableStringEnum<ApiType>
Enum to indicate the API type of the restorable database account.
  • Field Details

    • MONGO_DB

      public static final ApiType MONGO_DB
      Static value MongoDB for ApiType.
    • GREMLIN

      public static final ApiType GREMLIN
      Static value Gremlin for ApiType.
    • CASSANDRA

      public static final ApiType CASSANDRA
      Static value Cassandra for ApiType.
    • TABLE

      public static final ApiType TABLE
      Static value Table for ApiType.
    • SQL

      public static final ApiType SQL
      Static value Sql for ApiType.
    • GREMLIN_V2

      public static final ApiType GREMLIN_V2
      Static value GremlinV2 for ApiType.
  • Constructor Details

  • Method Details

    • fromString

      public static ApiType fromString(String name)
      Creates or finds a ApiType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding ApiType.
    • values

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