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 Summary
Modifier and TypeFieldDescriptionstatic final MaintenanceScope
Static value Extension for MaintenanceScope.static final MaintenanceScope
Static value Host for MaintenanceScope.static final MaintenanceScope
Static value InGuestPatch for MaintenanceScope.static final MaintenanceScope
Static value OSImage for MaintenanceScope.static final MaintenanceScope
Static value SQLDB for MaintenanceScope.static final MaintenanceScope
Static value SQLManagedInstance for MaintenanceScope. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MaintenanceScope
fromString
(String name) Creates or finds a MaintenanceScope from its string representation.static Collection<MaintenanceScope>
values()
Gets known MaintenanceScope values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
HOST
Static value Host for MaintenanceScope. -
OSIMAGE
Static value OSImage for MaintenanceScope. -
EXTENSION
Static value Extension for MaintenanceScope. -
IN_GUEST_PATCH
Static value InGuestPatch for MaintenanceScope. -
SQLDB
Static value SQLDB for MaintenanceScope. -
SQLMANAGED_INSTANCE
Static value SQLManagedInstance for MaintenanceScope.
-
-
Constructor Details
-
MaintenanceScope
Deprecated.Use thefromString(String)
factory method.Creates a new instance of MaintenanceScope value.
-
-
Method Details
-
fromString
Creates or finds a MaintenanceScope from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding MaintenanceScope.
-
values
Gets known MaintenanceScope values.- Returns:
- known MaintenanceScope values.
-
fromString(String)
factory method.