ArmConsumptionModelFactory.ConsumptionReservationRecommendationDetails Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ConsumptionReservationRecommendationDetails.
public static Azure.ResourceManager.Consumption.Models.ConsumptionReservationRecommendationDetails ConsumptionReservationRecommendationDetails (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, string sku = default, string currency = default, Azure.ResourceManager.Consumption.Models.ConsumptionResourceProperties properties = default, string resourceGroup = default, Azure.ResourceManager.Consumption.Models.ConsumptionSavingsProperties savings = default, string scope = default, Azure.ResourceManager.Consumption.Models.ConsumptionUsageProperties usage = default, Azure.ETag? etag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member ConsumptionReservationRecommendationDetails : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * string * string * Azure.ResourceManager.Consumption.Models.ConsumptionResourceProperties * string * Azure.ResourceManager.Consumption.Models.ConsumptionSavingsProperties * string * Azure.ResourceManager.Consumption.Models.ConsumptionUsageProperties * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Consumption.Models.ConsumptionReservationRecommendationDetails
Public Shared Function ConsumptionReservationRecommendationDetails (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional sku As String = Nothing, Optional currency As String = Nothing, Optional properties As ConsumptionResourceProperties = Nothing, Optional resourceGroup As String = Nothing, Optional savings As ConsumptionSavingsProperties = Nothing, Optional scope As String = Nothing, Optional usage As ConsumptionUsageProperties = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As ConsumptionReservationRecommendationDetails
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- location
- Nullable<AzureLocation>
Resource Location.
- sku
- String
Resource sku.
- currency
- String
An ISO 4217 currency code identifier for the costs and savings.
- properties
- ConsumptionResourceProperties
Resource specific properties.
- resourceGroup
- String
Resource Group.
- savings
- ConsumptionSavingsProperties
Savings information for the recommendation.
- scope
- String
Scope of the reservation, ex: Single or Shared.
Historical usage details used to calculate the estimated savings.
- tags
- IReadOnlyDictionary<String,String>
Resource tags.
Returns
A new ConsumptionReservationRecommendationDetails instance for mocking.
Applies to
Azure SDK for .NET