ComputeSkuMixPlacementGenerateContent Constructor
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.
Initializes a new instance of ComputeSkuMixPlacementGenerateContent.
public ComputeSkuMixPlacementGenerateContent(Azure.ResourceManager.Compute.Recommender.Models.SkuMixPlacementCapacityProfile capacityProfile, System.Collections.Generic.IList<Azure.ResourceManager.Compute.Recommender.Models.SkuMixPlacementVMSize> instanceDescriptionVmSizes);
new Azure.ResourceManager.Compute.Recommender.Models.ComputeSkuMixPlacementGenerateContent : Azure.ResourceManager.Compute.Recommender.Models.SkuMixPlacementCapacityProfile * System.Collections.Generic.IList<Azure.ResourceManager.Compute.Recommender.Models.SkuMixPlacementVMSize> -> Azure.ResourceManager.Compute.Recommender.Models.ComputeSkuMixPlacementGenerateContent
Public Sub New (capacityProfile As SkuMixPlacementCapacityProfile, instanceDescriptionVmSizes As IList(Of SkuMixPlacementVMSize))
Parameters
- capacityProfile
- SkuMixPlacementCapacityProfile
All capacity-related properties.
- instanceDescriptionVmSizes
- IList<SkuMixPlacementVMSize>
The list of VM sizes to consider for placement.
Exceptions
capacityProfile or instanceDescriptionVmSizes is null.