Class VMGuestPatchRebootSetting
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VMGuestPatchRebootSetting>
com.azure.resourcemanager.hybridcompute.models.VMGuestPatchRebootSetting
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class VMGuestPatchRebootSetting
extends com.azure.core.util.ExpandableStringEnum<VMGuestPatchRebootSetting>
Defines when it is acceptable to reboot a VM during a software update operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VMGuestPatchRebootSettingStatic value Always for VMGuestPatchRebootSetting.static final VMGuestPatchRebootSettingStatic value IfRequired for VMGuestPatchRebootSetting.static final VMGuestPatchRebootSettingStatic value Never for VMGuestPatchRebootSetting. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VMGuestPatchRebootSettingfromString(String name) Creates or finds a VMGuestPatchRebootSetting from its string representation.static Collection<VMGuestPatchRebootSetting> values()Gets known VMGuestPatchRebootSetting values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
IF_REQUIRED
Static value IfRequired for VMGuestPatchRebootSetting. -
NEVER
Static value Never for VMGuestPatchRebootSetting. -
ALWAYS
Static value Always for VMGuestPatchRebootSetting.
-
-
Constructor Details
-
VMGuestPatchRebootSetting
Deprecated.Use thefromString(String)factory method.Creates a new instance of VMGuestPatchRebootSetting value.
-
-
Method Details
-
fromString
Creates or finds a VMGuestPatchRebootSetting from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VMGuestPatchRebootSetting.
-
values
Gets known VMGuestPatchRebootSetting values.- Returns:
- known VMGuestPatchRebootSetting values.
-
fromString(String)factory method.