Share via


ArmConsumptionModelFactory.ConsumptionReservationRecommendation Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

kind
String

Specifies the kind of reservation recommendation.

etag
Nullable<ETag>

The etag for the resource.

tags
IReadOnlyDictionary<String,String>

Resource tags.

location
Nullable<AzureLocation>

Resource location.

sku
String

Resource sku.

Returns

A new ConsumptionReservationRecommendation instance for mocking.

Applies to