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 Details

    • ENABLED

      public static final PublicNetworkAccess ENABLED
      Static value Enabled for PublicNetworkAccess.
    • DISABLED

      public static final PublicNetworkAccess DISABLED
      Static value Disabled for PublicNetworkAccess.
  • Constructor Details

    • PublicNetworkAccess

      @Deprecated public PublicNetworkAccess()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of PublicNetworkAccess value.
  • Method Details

    • fromString

      public static PublicNetworkAccess fromString(String name)
      Creates or finds a PublicNetworkAccess from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding PublicNetworkAccess.
    • values

      public static Collection<PublicNetworkAccess> values()
      Gets known PublicNetworkAccess values.
      Returns:
      known PublicNetworkAccess values.