ResourceType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. datamigration. models. ResourceType
- com.
- com.
public final class ResourceType
extends ExpandableStringEnum<ResourceType>
Defines values for ResourceType.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Resource |
MONGO_TO_COSMOS_DB_MONGO
Static value Mongo |
|
static final
Resource |
SQL_DB
Static value Sql |
|
static final
Resource |
SQL_MI
Static value Sql |
|
static final
Resource |
SQL_VM
Static value Sql |
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resource |
fromString(String name)
Creates or finds a Resource |
|
static
Collection<Resource |
values()
Gets known Resource |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
MONGO_TO_COSMOS_DB_MONGO
public static final ResourceType MONGO_TO_COSMOS_DB_MONGO
Static value MongoToCosmosDbMongo for ResourceType.
SQL_DB
public static final ResourceType SQL_DB
Static value SqlDb for ResourceType.
SQL_MI
public static final ResourceType SQL_MI
Static value SqlMi for ResourceType.
SQL_VM
public static final ResourceType SQL_VM
Static value SqlVm for ResourceType.
Constructor Details
ResourceType
@Deprecated
public ResourceType()
Deprecated
Creates a new instance of ResourceType value.
Method Details
fromString
public static ResourceType fromString(String name)
Creates or finds a ResourceType from its string representation.
Parameters:
Returns:
values
public static Collection<ResourceType> values()
Gets known ResourceType values.
Returns: