Freigeben über


ArmConsumptionModelFactory.ConsumptionReservationRecommendation Methode

Definition

Initialisiert eine neue instance von ConsumptionReservationRecommendation.

public static Azure.ResourceManager.Consumption.Models.ConsumptionReservationRecommendation ConsumptionReservationRecommendation (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = "Unknown", Azure.ETag? etag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, Azure.Core.AzureLocation? location = default, string sku = default);
static member ConsumptionReservationRecommendation : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> * Nullable<Azure.Core.AzureLocation> * string -> Azure.ResourceManager.Consumption.Models.ConsumptionReservationRecommendation
Public Shared Function ConsumptionReservationRecommendation (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = "Unknown", 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) As ConsumptionReservationRecommendation

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemData.

kind
String

Gibt die Art der Reservierungsempfehlung an. Serialisierter Name: ReservationRecommendation.kind

etag
Nullable<ETag>

Das etag für die Ressource. Serialisierter Name: Resource.etag

tags
IReadOnlyDictionary<String,String>

Ressourcentags. Serialisierter Name: Resource.tags

location
Nullable<AzureLocation>

Serialisierter Name des Ressourcenspeicherorts: ResourceAttributes.location

sku
String

Serialisierter Name der Ressourcensku: ResourceAttributes.sku

Gibt zurück

Eine neue ConsumptionReservationRecommendation instance zum Simulieren.

Gilt für: