Share via


ArmConsumptionModelFactory.ConsumptionModernReservationRecommendation Method

Definition

Initializes a new instance of ConsumptionModernReservationRecommendation.

public static Azure.ResourceManager.Consumption.Models.ConsumptionModernReservationRecommendation ConsumptionModernReservationRecommendation (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, Azure.Core.AzureLocation? location = default, string sku = default, string locationPropertiesLocation = default, int? lookBackPeriod = default, float? instanceFlexibilityRatio = default, string instanceFlexibilityGroup = default, string normalizedSize = default, float? recommendedQuantityNormalized = default, Guid? meterId = default, string term = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount costWithNoReservedInstances = default, decimal? recommendedQuantity = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount totalCostWithReservedInstances = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount netSavings = default, DateTimeOffset? firstUsageOn = default, string scope = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Consumption.Models.ConsumptionSkuProperty> skuProperties = default, string skuName = default);
static member ConsumptionModernReservationRecommendation : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> * Nullable<Azure.Core.AzureLocation> * string * string * Nullable<int> * Nullable<single> * string * string * Nullable<single> * Nullable<Guid> * string * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Nullable<decimal> * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.Consumption.Models.ConsumptionSkuProperty> * string -> Azure.ResourceManager.Consumption.Models.ConsumptionModernReservationRecommendation
Public Shared Function ConsumptionModernReservationRecommendation (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional sku As String = Nothing, Optional locationPropertiesLocation As String = Nothing, Optional lookBackPeriod As Nullable(Of Integer) = Nothing, Optional instanceFlexibilityRatio As Nullable(Of Single) = Nothing, Optional instanceFlexibilityGroup As String = Nothing, Optional normalizedSize As String = Nothing, Optional recommendedQuantityNormalized As Nullable(Of Single) = Nothing, Optional meterId As Nullable(Of Guid) = Nothing, Optional term As String = Nothing, Optional costWithNoReservedInstances As ConsumptionAmount = Nothing, Optional recommendedQuantity As Nullable(Of Decimal) = Nothing, Optional totalCostWithReservedInstances As ConsumptionAmount = Nothing, Optional netSavings As ConsumptionAmount = Nothing, Optional firstUsageOn As Nullable(Of DateTimeOffset) = Nothing, Optional scope As String = Nothing, Optional skuProperties As IEnumerable(Of ConsumptionSkuProperty) = Nothing, Optional skuName As String = Nothing) As ConsumptionModernReservationRecommendation

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

etag
Nullable<ETag>

The etag for the resource.

tags
IReadOnlyDictionary<String,String>

Resource tags.

location
Nullable<AzureLocation>

Resource location.

sku
String

Resource sku.

locationPropertiesLocation
String

Resource Location.

lookBackPeriod
Nullable<Int32>

The number of days of usage to look back for recommendation.

instanceFlexibilityRatio
Nullable<Single>

The instance Flexibility Ratio.

instanceFlexibilityGroup
String

The instance Flexibility Group.

normalizedSize
String

The normalized Size.

recommendedQuantityNormalized
Nullable<Single>

The recommended Quantity Normalized.

meterId
Nullable<Guid>

The meter id (GUID).

term
String

RI recommendations in one or three year terms.

costWithNoReservedInstances
ConsumptionAmount

The total amount of cost without reserved instances.

recommendedQuantity
Nullable<Decimal>

Recommended quality for reserved instances.

totalCostWithReservedInstances
ConsumptionAmount

The total amount of cost with reserved instances.

netSavings
ConsumptionAmount

Total estimated savings with reserved instances.

firstUsageOn
Nullable<DateTimeOffset>

The usage date for looking back.

scope
String

Shared or single recommendation.

skuProperties
IEnumerable<ConsumptionSkuProperty>

List of sku properties.

skuName
String

This is the ARM Sku name.

Returns

A new ConsumptionModernReservationRecommendation instance for mocking.

Applies to