Class PublicNetworkAccess
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PublicNetworkAccess>
com.azure.resourcemanager.mediaservices.models.PublicNetworkAccess
public final class PublicNetworkAccess
extends com.azure.core.util.ExpandableStringEnum<PublicNetworkAccess>
Whether or not public network access is allowed for resources under the Media Services account.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PublicNetworkAccess
Static value Disabled for PublicNetworkAccess.static final PublicNetworkAccess
Static value Enabled for PublicNetworkAccess. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PublicNetworkAccess
fromString
(String name) Creates or finds a PublicNetworkAccess from its string representation.static Collection<PublicNetworkAccess>
values()
Gets known PublicNetworkAccess values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for PublicNetworkAccess. -
DISABLED
Static value Disabled for PublicNetworkAccess.
-
-
Constructor Details
-
PublicNetworkAccess
Deprecated.Use thefromString(String)
factory method.Creates a new instance of PublicNetworkAccess value.
-
-
Method Details
-
fromString
Creates or finds a PublicNetworkAccess from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PublicNetworkAccess.
-
values
Gets known PublicNetworkAccess values.- Returns:
- known PublicNetworkAccess values.
-
fromString(String)
factory method.