Class LocalDnsServeStale

java.lang.Object
com.azure.core.util.ExpandableStringEnum<LocalDnsServeStale>
com.azure.resourcemanager.containerservice.models.LocalDnsServeStale
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class LocalDnsServeStale extends com.azure.core.util.ExpandableStringEnum<LocalDnsServeStale>
Policy for serving stale data. See [cache plugin](https://coredns.io/plugins/cache) for more information.
  • Field Details

    • VERIFY

      public static final LocalDnsServeStale VERIFY
      Serve stale data with verification. First verify that an entry is still unavailable from the source before sending the expired entry to the client. See [cache plugin](https://coredns.io/plugins/cache) for more information.
    • IMMEDIATE

      public static final LocalDnsServeStale IMMEDIATE
      Serve stale data immediately. Send the expired entry to the client before checking to see if the entry is available from the source. See [cache plugin](https://coredns.io/plugins/cache) for more information.
    • DISABLE

      public static final LocalDnsServeStale DISABLE
      Disable serving stale data.
  • Constructor Details

    • LocalDnsServeStale

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

    • fromString

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

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