com.azure.resourcemanager.compute.models.VirtualMachineScaleSetScaleInRules Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-compute Show documentation
Show all versions of azure-resourcemanager-compute Show documentation
This package contains Microsoft Azure Compute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Defines values for VirtualMachineScaleSetScaleInRules.
*/
public final class VirtualMachineScaleSetScaleInRules extends ExpandableStringEnum {
/**
* Static value Default for VirtualMachineScaleSetScaleInRules.
*/
public static final VirtualMachineScaleSetScaleInRules DEFAULT = fromString("Default");
/**
* Static value OldestVM for VirtualMachineScaleSetScaleInRules.
*/
public static final VirtualMachineScaleSetScaleInRules OLDEST_VM = fromString("OldestVM");
/**
* Static value NewestVM for VirtualMachineScaleSetScaleInRules.
*/
public static final VirtualMachineScaleSetScaleInRules NEWEST_VM = fromString("NewestVM");
/**
* Creates a new instance of VirtualMachineScaleSetScaleInRules value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public VirtualMachineScaleSetScaleInRules() {
}
/**
* Creates or finds a VirtualMachineScaleSetScaleInRules from its string representation.
*
* @param name a name to look for.
* @return the corresponding VirtualMachineScaleSetScaleInRules.
*/
public static VirtualMachineScaleSetScaleInRules fromString(String name) {
return fromString(name, VirtualMachineScaleSetScaleInRules.class);
}
/**
* Gets known VirtualMachineScaleSetScaleInRules values.
*
* @return known VirtualMachineScaleSetScaleInRules values.
*/
public static Collection values() {
return values(VirtualMachineScaleSetScaleInRules.class);
}
}