Compartilhar via


ArmConsumptionModelFactory.ConsumptionModernReservationRecommendation Método

Definição

Inicializa uma nova instância de 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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

etag
Nullable<ETag>

A etag do recurso. Nome serializado: Resource.etag

tags
IReadOnlyDictionary<String,String>

Marcas de recurso. Nome serializado: Resource.tags

location
Nullable<AzureLocation>

Local do recurso Nome serializado: ResourceAttributes.location

sku
String

Nome serializado da SKU do recurso: ResourceAttributes.sku

locationPropertiesLocation
String

Local do recurso. Nome serializado: ModernReservationRecommendation.properties.location

lookBackPeriod
Nullable<Int32>

O número de dias de uso para olhar para trás para obter recomendações. Nome serializado: ModernReservationRecommendation.properties.lookBackPeriod

instanceFlexibilityRatio
Nullable<Single>

A taxa de flexibilidade da instância. Nome serializado: ModernReservationRecommendation.properties.instanceFlexibilityRatio

instanceFlexibilityGroup
String

O grupo de flexibilidade da instância. Nome serializado: ModernReservationRecommendation.properties.instanceFlexibilityGroup

normalizedSize
String

O Tamanho normalizado. Nome serializado: ModernReservationRecommendation.properties.normalizedSize

recommendedQuantityNormalized
Nullable<Single>

A Quantidade Normalizada recomendada. Nome serializado: ModernReservationRecommendation.properties.recommendedQuantityNormalized

meterId
Nullable<Guid>

A ID do medidor (GUID) Nome serializado: ModernReservationRecommendation.properties.meterId

term
String

Recomendações de RI em um ou três anos. Nome serializado: ModernReservationRecommendation.properties.term

costWithNoReservedInstances
ConsumptionAmount

A quantidade total de custos sem instâncias reservadas. Nome serializado: ModernReservationRecommendation.properties.costWithNoReservedInstances

recommendedQuantity
Nullable<Decimal>

Qualidade recomendada para instâncias reservadas. Nome serializado: ModernReservationRecommendation.properties.recommendedQuantity

totalCostWithReservedInstances
ConsumptionAmount

A quantidade total de custo com instâncias reservadas. Nome serializado: ModernReservationRecommendation.properties.totalCostWithReservedInstances

netSavings
ConsumptionAmount

Economia total estimada com instâncias reservadas. Nome serializado: ModernReservationRecommendation.properties.netSavings

firstUsageOn
Nullable<DateTimeOffset>

A data de uso para olhar para trás. Nome serializado: ModernReservationRecommendation.properties.firstUsageDate

scope
String

Recomendação compartilhada ou única. Nome serializado: ModernReservationRecommendation.properties.scope

skuProperties
IEnumerable<ConsumptionSkuProperty>

Lista de propriedades de sku Nome serializado: ModernReservationRecommendation.properties.skuProperties

skuName
String

Este é o nome da SKU do ARM. Nome serializado: ModernReservationRecommendation.properties.skuName

Retornos

Uma nova ConsumptionModernReservationRecommendation instância para simulação.

Aplica-se a