Compartilhar via


ArmConsumptionModelFactory.ConsumptionResourceProperties Método

Definição

Inicializa uma nova instância de ConsumptionResourceProperties.

public static Azure.ResourceManager.Consumption.Models.ConsumptionResourceProperties ConsumptionResourceProperties (System.Collections.Generic.IEnumerable<string> appliedScopes = default, float? onDemandRate = default, string product = default, string region = default, float? reservationRate = default, string resourceType = default);
static member ConsumptionResourceProperties : seq<string> * Nullable<single> * string * string * Nullable<single> * string -> Azure.ResourceManager.Consumption.Models.ConsumptionResourceProperties
Public Shared Function ConsumptionResourceProperties (Optional appliedScopes As IEnumerable(Of String) = Nothing, Optional onDemandRate As Nullable(Of Single) = Nothing, Optional product As String = Nothing, Optional region As String = Nothing, Optional reservationRate As Nullable(Of Single) = Nothing, Optional resourceType As String = Nothing) As ConsumptionResourceProperties

Parâmetros

appliedScopes
IEnumerable<String>

Lista de assinaturas para as quais a reserva é aplicada. Nome serializado: ReservationRecommendationDetailsResourceProperties.appliedScopes

onDemandRate
Nullable<Single>

Taxa sob demanda do recurso. Nome serializado: ReservationRecommendationDetailsResourceProperties.onDemandRate

product
String

Azure product ex: Standard_E8s_v3 etc. Nome serializado: ReservationRecommendationDetailsResourceProperties.product

region
String

Região de recursos do Azure ex:EastUS, WestUS etc. Nome serializado: ReservationRecommendationDetailsResourceProperties.region

reservationRate
Nullable<Single>

Taxa de reserva do recurso. Nome serializado: ReservationRecommendationDetailsResourceProperties.reservationRate

resourceType
String

O tipo de recurso do azure. Nome serializado: ReservationRecommendationDetailsResourceProperties.resourceType

Retornos

Uma nova ConsumptionResourceProperties instância para zombar.

Aplica-se a