ArmComputeBulkActionsModelFactory.BulkActionsCapacityRecommendationParametersContent Method
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 parameters used to request capacity/placement recommendations for a start operation. Placement recommendations are only computed if the VM fails to start due to an allocation failure.
public static Azure.ResourceManager.Compute.BulkActions.Models.BulkActionsCapacityRecommendationParametersContent BulkActionsCapacityRecommendationParametersContent(System.Collections.Generic.IEnumerable<string> desiredLocations = default, System.Collections.Generic.IEnumerable<string> desiredSizes = default, bool? isAvailabilityZoneEnabled = default);
static member BulkActionsCapacityRecommendationParametersContent : seq<string> * seq<string> * Nullable<bool> -> Azure.ResourceManager.Compute.BulkActions.Models.BulkActionsCapacityRecommendationParametersContent
Public Shared Function BulkActionsCapacityRecommendationParametersContent (Optional desiredLocations As IEnumerable(Of String) = Nothing, Optional desiredSizes As IEnumerable(Of String) = Nothing, Optional isAvailabilityZoneEnabled As Nullable(Of Boolean) = Nothing) As BulkActionsCapacityRecommendationParametersContent
Parameters
- desiredLocations
- IEnumerable<String>
The list of desired Azure regions to be considered for the capacity recommendation.
- desiredSizes
- IEnumerable<String>
The list of desired VM sizes (SKUs) to be considered for the capacity recommendation.
Whether the capacity recommendation should be computed per availability zone.
Returns
A new BulkActionsCapacityRecommendationParametersContent instance for mocking.