SpotAllocationStrategy Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Spot allocation strategy types for Compute Fleet.
public readonly struct SpotAllocationStrategy : IEquatable<Azure.ResourceManager.ComputeFleet.Models.SpotAllocationStrategy>
type SpotAllocationStrategy = struct
Public Structure SpotAllocationStrategy
Implements IEquatable(Of SpotAllocationStrategy)
- Inheritance
-
SpotAllocationStrategy
- Implements
Constructors
| Name | Description |
|---|---|
| SpotAllocationStrategy(String) |
Initializes a new instance of SpotAllocationStrategy. |
Properties
| Name | Description |
|---|---|
| CapacityOptimized |
VM sizes distribution will be determined to optimize for capacity. |
| LowestPrice |
VM sizes distribution will be determined to optimize for price. Note: Capacity will still be considered here but will be given much less weight. |
| PriceCapacityOptimized |
Default. VM sizes distribution will be determined to optimize for both price and capacity. |
Methods
| Name | Description |
|---|---|
| Equals(SpotAllocationStrategy) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(SpotAllocationStrategy, SpotAllocationStrategy) |
Determines if two SpotAllocationStrategy values are the same. |
| Implicit(String to SpotAllocationStrategy) |
Converts a String to a SpotAllocationStrategy. |
| Inequality(SpotAllocationStrategy, SpotAllocationStrategy) |
Determines if two SpotAllocationStrategy values are not the same. |