com.azure.resourcemanager.hybridcompute.models.HotpatchEnablementStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-hybridcompute Show documentation
Show all versions of azure-resourcemanager-hybridcompute Show documentation
This package contains Microsoft Azure SDK for HybridCompute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Hybrid Compute Management Client. Package tag package-preview-2024-05.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.hybridcompute.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Status of hotpatch enablement or disablement.
*/
public final class HotpatchEnablementStatus extends ExpandableStringEnum {
/**
* Static value Unknown for HotpatchEnablementStatus.
*/
public static final HotpatchEnablementStatus UNKNOWN = fromString("Unknown");
/**
* Static value PendingEvaluation for HotpatchEnablementStatus.
*/
public static final HotpatchEnablementStatus PENDING_EVALUATION = fromString("PendingEvaluation");
/**
* Static value Disabled for HotpatchEnablementStatus.
*/
public static final HotpatchEnablementStatus DISABLED = fromString("Disabled");
/**
* Static value ActionRequired for HotpatchEnablementStatus.
*/
public static final HotpatchEnablementStatus ACTION_REQUIRED = fromString("ActionRequired");
/**
* Static value Enabled for HotpatchEnablementStatus.
*/
public static final HotpatchEnablementStatus ENABLED = fromString("Enabled");
/**
* Creates a new instance of HotpatchEnablementStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public HotpatchEnablementStatus() {
}
/**
* Creates or finds a HotpatchEnablementStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding HotpatchEnablementStatus.
*/
public static HotpatchEnablementStatus fromString(String name) {
return fromString(name, HotpatchEnablementStatus.class);
}
/**
* Gets known HotpatchEnablementStatus values.
*
* @return known HotpatchEnablementStatus values.
*/
public static Collection values() {
return values(HotpatchEnablementStatus.class);
}
}