Class MaintenanceScope

java.lang.Object
com.azure.core.util.ExpandableStringEnum<MaintenanceScope>
com.azure.resourcemanager.maintenance.models.MaintenanceScope

public final class MaintenanceScope extends com.azure.core.util.ExpandableStringEnum<MaintenanceScope>
Gets or sets maintenanceScope of the configuration.
  • Field Details

    • HOST

      public static final MaintenanceScope HOST
      Static value Host for MaintenanceScope.
    • OSIMAGE

      public static final MaintenanceScope OSIMAGE
      Static value OSImage for MaintenanceScope.
    • EXTENSION

      public static final MaintenanceScope EXTENSION
      Static value Extension for MaintenanceScope.
    • IN_GUEST_PATCH

      public static final MaintenanceScope IN_GUEST_PATCH
      Static value InGuestPatch for MaintenanceScope.
    • SQLDB

      public static final MaintenanceScope SQLDB
      Static value SQLDB for MaintenanceScope.
    • SQLMANAGED_INSTANCE

      public static final MaintenanceScope SQLMANAGED_INSTANCE
      Static value SQLManagedInstance for MaintenanceScope.
  • Constructor Details

    • MaintenanceScope

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

    • fromString

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

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