ArmConsumptionModelFactory.ConsumptionMeterDetailsInfo Method

Definition

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