CommandType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. datamigration. models. CommandType
- com.
- com.
public final class CommandType
extends ExpandableStringEnum<CommandType>
Command type.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Command |
CANCEL
Static value cancel for Command |
|
static final
Command |
FINISH
Static value finish for Command |
|
static final
Command |
MIGRATE_SQL_SERVER_AZURE_DB_SQL_MI_COMPLETE
Static value Migrate. |
|
static final
Command |
MIGRATE_SYNC_COMPLETE_DATABASE
Static value Migrate. |
|
static final
Command |
RESTART
Static value restart for Command |
Constructor Summary
| Constructor | Description |
|---|---|
| CommandType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Command |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Command |
fromString(String name)
Creates or finds a Command |
|
static
Collection<Command |
values()
Gets known Command |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CANCEL
public static final CommandType CANCEL
Static value cancel for CommandType.
FINISH
public static final CommandType FINISH
Static value finish for CommandType.
MIGRATE_SQL_SERVER_AZURE_DB_SQL_MI_COMPLETE
public static final CommandType MIGRATE_SQL_SERVER_AZURE_DB_SQL_MI_COMPLETE
Static value Migrate.SqlServer.AzureDbSqlMi.Complete for CommandType.
MIGRATE_SYNC_COMPLETE_DATABASE
public static final CommandType MIGRATE_SYNC_COMPLETE_DATABASE
Static value Migrate.Sync.Complete.Database for CommandType.
RESTART
public static final CommandType RESTART
Static value restart for CommandType.
Constructor Details
CommandType
@Deprecated
public CommandType()
Deprecated
Creates a new instance of CommandType value.
Method Details
fromString
public static CommandType fromString(String name)
Creates or finds a CommandType from its string representation.
Parameters:
Returns:
values
public static Collection<CommandType> values()
Gets known CommandType values.
Returns: