SkuMixPlacementCapacityProfile Class
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.
Capacity-related properties for the placement request.
public class SkuMixPlacementCapacityProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Recommender.Models.SkuMixPlacementCapacityProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Recommender.Models.SkuMixPlacementCapacityProfile>
type SkuMixPlacementCapacityProfile = class
interface IJsonModel<SkuMixPlacementCapacityProfile>
interface IPersistableModel<SkuMixPlacementCapacityProfile>
Public Class SkuMixPlacementCapacityProfile
Implements IJsonModel(Of SkuMixPlacementCapacityProfile), IPersistableModel(Of SkuMixPlacementCapacityProfile)
- Inheritance
-
SkuMixPlacementCapacityProfile
- Implements
Constructors
| Name | Description |
|---|---|
| SkuMixPlacementCapacityProfile(Int32, SkuMixPlacementCapacityType, SkuMixPlacementPriority) |
Initializes a new instance of SkuMixPlacementCapacityProfile. |
Properties
| Name | Description |
|---|---|
| AllocationStrategy |
The allocation strategy for determining the optimal SKU split. |
| Capacity |
The capacity to run the workload. For VMs: [1..10,000]. For vCPUs: [1..100,000]. |
| CapacityType |
The unit type for the capacity value. |
| OSType |
The OS type. Required when allocationStrategy is LowestPrice because pricing varies by OS. |
| Priority |
The priority of the VMs to allocate. |
| SpotPriorityMaxPricePerVm |
Maximum price per VM the customer is willing to pay. Default: -1 (no price restriction). |
| ZoneAllocationPolicy |
Zone allocation policy. Default: BestEffortBalanced. |