com.azure.resourcemanager.servicefabricmanagedclusters.models.ClusterUpgradeMode Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.servicefabricmanagedclusters.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The upgrade mode of the cluster when new Service Fabric runtime version is available.
*/
public final class ClusterUpgradeMode extends ExpandableStringEnum {
/**
* Static value Automatic for ClusterUpgradeMode.
*/
public static final ClusterUpgradeMode AUTOMATIC = fromString("Automatic");
/**
* Static value Manual for ClusterUpgradeMode.
*/
public static final ClusterUpgradeMode MANUAL = fromString("Manual");
/**
* Creates a new instance of ClusterUpgradeMode value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ClusterUpgradeMode() {
}
/**
* Creates or finds a ClusterUpgradeMode from its string representation.
*
* @param name a name to look for.
* @return the corresponding ClusterUpgradeMode.
*/
public static ClusterUpgradeMode fromString(String name) {
return fromString(name, ClusterUpgradeMode.class);
}
/**
* Gets known ClusterUpgradeMode values.
*
* @return known ClusterUpgradeMode values.
*/
public static Collection values() {
return values(ClusterUpgradeMode.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy