ArmConsumptionModelFactory.ConsumptionMeterDetails 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 ConsumptionMeterDetails.
public static Azure.ResourceManager.Consumption.Models.ConsumptionMeterDetails ConsumptionMeterDetails (string meterName = default, string meterCategory = default, string meterSubCategory = default, string unit = default, string meterLocation = default, decimal? totalIncludedQuantity = default, decimal? pretaxStandardRate = default, string serviceName = default, string serviceTier = default);
static member ConsumptionMeterDetails : string * string * string * string * string * Nullable<decimal> * Nullable<decimal> * string * string -> Azure.ResourceManager.Consumption.Models.ConsumptionMeterDetails
Public Shared Function ConsumptionMeterDetails (Optional meterName As String = Nothing, Optional meterCategory As String = Nothing, Optional meterSubCategory As String = Nothing, Optional unit As String = Nothing, Optional meterLocation As String = Nothing, Optional totalIncludedQuantity As Nullable(Of Decimal) = Nothing, Optional pretaxStandardRate As Nullable(Of Decimal) = Nothing, Optional serviceName As String = Nothing, Optional serviceTier As String = Nothing) As ConsumptionMeterDetails
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..
- unit
- String
The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.
- meterLocation
- String
The location in which the Azure service is available.
- serviceName
- String
The name of the service.
- serviceTier
- String
The service tier.
Returns
A new ConsumptionMeterDetails instance for mocking.