Class ServerPublicNetworkAccessState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServerPublicNetworkAccessState>
com.azure.resourcemanager.postgresqlflexibleserver.models.ServerPublicNetworkAccessState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ServerPublicNetworkAccessState
extends com.azure.core.util.ExpandableStringEnum<ServerPublicNetworkAccessState>
Indicates if public network access is enabled or not. This is only supported for servers that are not integrated into
a virtual network which is owned and provided by customer when server is deployed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServerPublicNetworkAccessStateStatic value Disabled for ServerPublicNetworkAccessState.static final ServerPublicNetworkAccessStateStatic value Enabled for ServerPublicNetworkAccessState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a ServerPublicNetworkAccessState from its string representation.values()Gets known ServerPublicNetworkAccessState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for ServerPublicNetworkAccessState. -
DISABLED
Static value Disabled for ServerPublicNetworkAccessState.
-
-
Constructor Details
-
ServerPublicNetworkAccessState
Deprecated.Use thefromString(String)factory method.Creates a new instance of ServerPublicNetworkAccessState value.
-
-
Method Details
-
fromString
Creates or finds a ServerPublicNetworkAccessState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ServerPublicNetworkAccessState.
-
values
Gets known ServerPublicNetworkAccessState values.- Returns:
- known ServerPublicNetworkAccessState values.
-
fromString(String)factory method.