ServerWorkspaceFeature Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. ServerWorkspaceFeature
- com.
- com.
public final class ServerWorkspaceFeature
extends ExpandableStringEnum<ServerWorkspaceFeature>
Whether or not existing server has a workspace created and if it allows connection from workspace.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Server |
CONNECTED
Connected. |
|
static final
Server |
DISCONNECTED
Disconnected. |
Constructor Summary
| Constructor | Description |
|---|---|
| ServerWorkspaceFeature() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Server |
fromString(String name)
Creates or finds a Server |
|
static
Collection<Server |
values()
Gets known Server |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CONNECTED
public static final ServerWorkspaceFeature CONNECTED
Connected.
DISCONNECTED
public static final ServerWorkspaceFeature DISCONNECTED
Disconnected.
Constructor Details
ServerWorkspaceFeature
@Deprecated
public ServerWorkspaceFeature()
Deprecated
Creates a new instance of ServerWorkspaceFeature value.
Method Details
fromString
public static ServerWorkspaceFeature fromString(String name)
Creates or finds a ServerWorkspaceFeature from its string representation.
Parameters:
Returns:
values
public static Collection<ServerWorkspaceFeature> values()
Gets known ServerWorkspaceFeature values.
Returns: