Language

ComputeSkuMixPlacementGenerateContent Constructor

Definition

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.

Applies to