ArmConsumptionModelFactory.ConsumptionMeterDetailsInfo 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 ConsumptionMeterDetailsInfo.
public static Azure.ResourceManager.Consumption.Models.ConsumptionMeterDetailsInfo ConsumptionMeterDetailsInfo (string meterName = default, string meterCategory = default, string meterSubCategory = default, string unitOfMeasure = default, string serviceFamily = default);
static member ConsumptionMeterDetailsInfo : string * string * string * string * string -> Azure.ResourceManager.Consumption.Models.ConsumptionMeterDetailsInfo
Public Shared Function ConsumptionMeterDetailsInfo (Optional meterName As String = Nothing, Optional meterCategory As String = Nothing, Optional meterSubCategory As String = Nothing, Optional unitOfMeasure As String = Nothing, Optional serviceFamily As String = Nothing) As ConsumptionMeterDetailsInfo
Parameters
- meterName
- String
The name of the meter, within the given meter category.
- meterCategory
- String
The category of the meter, for example, 'Cloud services', 'Networking', etc..
- meterSubCategory
- String
The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..
- unitOfMeasure
- String
The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.
- serviceFamily
- String
The service family.
Returns
A new ConsumptionMeterDetailsInfo instance for mocking.
Applies to
Azure SDK for .NET