AllocationStrategy 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.
The allocation strategy for VM size selection.
public readonly struct AllocationStrategy : IEquatable<Azure.ResourceManager.Compute.BulkActions.Models.AllocationStrategy>
type AllocationStrategy = struct
Public Structure AllocationStrategy
Implements IEquatable(Of AllocationStrategy)
- Inheritance
-
AllocationStrategy
- Implements
Constructors
| Name | Description |
|---|---|
| AllocationStrategy(String) |
Initializes a new instance of AllocationStrategy. |
Properties
| Name | Description |
|---|---|
| CapacityOptimized |
Platform prioritizes VM sizes with the highest available capacity first. |
| LowestPrice |
Platform prioritizes VM sizes with the lowest hourly cost. |
| Prioritized |
Customer specifies a rank for each VM size, platform uses VM sizes in rank order. |
Methods
| Name | Description |
|---|---|
| Equals(AllocationStrategy) |
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(AllocationStrategy, AllocationStrategy) |
Determines if two AllocationStrategy values are the same. |
| Implicit(String to AllocationStrategy) |
Converts a string to a AllocationStrategy. |
| Implicit(String to Nullable<AllocationStrategy>) | |
| Inequality(AllocationStrategy, AllocationStrategy) |
Determines if two AllocationStrategy values are not the same. |