
com.pulumi.azurenative.azurefleet.enums.SpotAllocationStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.azurefleet.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* Allocation strategy to follow when determining the VM sizes distribution for Spot VMs.
*
*/
@EnumType
public enum SpotAllocationStrategy {
/**
* Default. VM sizes distribution will be determined to optimize for both price and capacity.
*
*/
PriceCapacityOptimized("PriceCapacityOptimized"),
/**
* VM sizes distribution will be determined to optimize for price. Note: Capacity will still be considered here but will be given much less weight.
*
*/
LowestPrice("LowestPrice"),
/**
* VM sizes distribution will be determined to optimize for capacity.
*
*/
CapacityOptimized("CapacityOptimized");
private final String value;
SpotAllocationStrategy(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public java.lang.String toString() {
return new StringJoiner(", ", "SpotAllocationStrategy[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy