Dela via


SpotAllocationStrategy Struct

Definition

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

SpotAllocationStrategy(String)

Initializes a new instance of SpotAllocationStrategy.

Properties

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

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

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.

Applies to