Freigeben über


ArmConsumptionModelFactory.ConsumptionResourceProperties Methode

Definition

Initialisiert eine neue instance von 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

Parameter

appliedScopes
IEnumerable<String>

Liste der Abonnements, für die die Reservierung angewendet wird. Serialisierter Name: ReservationRecommendationDetailsResourceProperties.appliedScopes

onDemandRate
Nullable<Single>

Bei Bedarf rate der Ressource. Serialisierter Name: ReservationRecommendationDetailsResourceProperties.onDemandRate

product
String

Azure-Produkt z. B. Standard_E8s_v3 usw. Serialisierter Name: ReservationRecommendationDetailsResourceProperties.product

region
String

Azure-Ressourcenregion z.B.: EastUS, WestUS usw. Serialisierter Name: ReservationRecommendationDetailsResourceProperties.region

reservationRate
Nullable<Single>

Reservierungsrate der Ressource. Serialisierter Name: ReservationRecommendationDetailsResourceProperties.reservationRate

resourceType
String

Der Azure-Ressourcentyp. Serialisierter Name: ReservationRecommendationDetailsResourceProperties.resourceType

Gibt zurück

Eine neue ConsumptionResourceProperties instance zum Simulieren.

Gilt für: