DistributionStrategy 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 distribution strategy for zone allocation.
public readonly struct DistributionStrategy : IEquatable<Azure.ResourceManager.Compute.BulkActions.Models.DistributionStrategy>
type DistributionStrategy = struct
Public Structure DistributionStrategy
Implements IEquatable(Of DistributionStrategy)
- Inheritance
-
DistributionStrategy
- Implements
Constructors
| Name | Description |
|---|---|
| DistributionStrategy(String) |
Initializes a new instance of DistributionStrategy. |
Properties
| Name | Description |
|---|---|
| BestEffortBalanced |
Platform attempts to evenly distribute VMs across all available zones with best effort. |
| BestEffortSingleZone |
Platform attempts to place as many VMs as possible in a single zone, falls back to multiple zones if needed. |
| Prioritized |
Platform uses customer-provided zone rankings to allocate VMs. |
| StrictBalanced |
Platform must evenly distribute VMs across zones, request is rejected if exact balance cannot be achieved. |
Methods
| Name | Description |
|---|---|
| Equals(DistributionStrategy) |
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(DistributionStrategy, DistributionStrategy) |
Determines if two DistributionStrategy values are the same. |
| Implicit(String to DistributionStrategy) |
Converts a string to a DistributionStrategy. |
| Implicit(String to Nullable<DistributionStrategy>) | |
| Inequality(DistributionStrategy, DistributionStrategy) |
Determines if two DistributionStrategy values are not the same. |