ServerNetworkAccessFlag Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. ServerNetworkAccessFlag
- com.
- com.
public final class ServerNetworkAccessFlag
extends ExpandableStringEnum<ServerNetworkAccessFlag>
Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Server |
DISABLED
Static value Disabled for Server |
static final
Server |
ENABLED
Static value Enabled for Server |
Constructor Summary
Constructor | Description |
---|---|
ServerNetworkAccessFlag() |
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
DISABLED
public static final ServerNetworkAccessFlag DISABLED
Static value Disabled for ServerNetworkAccessFlag.
ENABLED
public static final ServerNetworkAccessFlag ENABLED
Static value Enabled for ServerNetworkAccessFlag.
Constructor Details
ServerNetworkAccessFlag
@Deprecated
public ServerNetworkAccessFlag()
Deprecated
Creates a new instance of ServerNetworkAccessFlag value.
Method Details
fromString
public static ServerNetworkAccessFlag fromString(String name)
Creates or finds a ServerNetworkAccessFlag from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ServerNetworkAccessFlag values.
Returns:
Applies to
Azure SDK for Java