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

public final class WebhookStatus extends com.azure.core.util.ExpandableStringEnum<WebhookStatus>
The status of the webhook at the time the operation was called.
  • Field Details

    • ENABLED

      public static final WebhookStatus ENABLED
      Static value enabled for WebhookStatus.
    • DISABLED

      public static final WebhookStatus DISABLED
      Static value disabled for WebhookStatus.
  • Constructor Details

    • WebhookStatus

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

    • fromString

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

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