Language

ArmComputeBulkActionsModelFactory.BulkActionsCapacityRecommendationParametersContent Method

Definition

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.

isAvailabilityZoneEnabled
Nullable<Boolean>

Whether the capacity recommendation should be computed per availability zone.

Returns

A new BulkActionsCapacityRecommendationParametersContent instance for mocking.

Applies to