Class NetworkAccessPolicy
java.lang.Object
com.microsoft.rest.ExpandableStringEnum<NetworkAccessPolicy>
com.microsoft.azure.management.compute.NetworkAccessPolicy
public final class NetworkAccessPolicy
extends com.microsoft.rest.ExpandableStringEnum<NetworkAccessPolicy>
Defines values for NetworkAccessPolicy.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final NetworkAccessPolicy
Static value AllowAll for NetworkAccessPolicy.static final NetworkAccessPolicy
Static value AllowPrivate for NetworkAccessPolicy.static final NetworkAccessPolicy
Static value DenyAll for NetworkAccessPolicy. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkAccessPolicy
fromString
(String name) Creates or finds a NetworkAccessPolicy from its string representation.static Collection<NetworkAccessPolicy>
values()
Methods inherited from class com.microsoft.rest.ExpandableStringEnum
equals, fromString, hashCode, toString, values, withNameValue
-
Field Details
-
ALLOW_ALL
Static value AllowAll for NetworkAccessPolicy. -
ALLOW_PRIVATE
Static value AllowPrivate for NetworkAccessPolicy. -
DENY_ALL
Static value DenyAll for NetworkAccessPolicy.
-
-
Constructor Details
-
NetworkAccessPolicy
public NetworkAccessPolicy()
-
-
Method Details
-
fromString
Creates or finds a NetworkAccessPolicy from its string representation.- Parameters:
name
- a name to look for- Returns:
- the corresponding NetworkAccessPolicy
-
values
- Returns:
- known NetworkAccessPolicy values
-