ArmConsumptionModelFactory.PriceSheetProperties 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 PriceSheetProperties.
public static Azure.ResourceManager.Consumption.Models.PriceSheetProperties PriceSheetProperties (Azure.Core.ResourceIdentifier billingPeriodId = default, Guid? meterId = default, Azure.ResourceManager.Consumption.Models.ConsumptionMeterDetails meterDetails = default, string unitOfMeasure = default, decimal? includedQuantity = default, string partNumber = default, decimal? unitPrice = default, string currencyCode = default, string offerId = default);
static member PriceSheetProperties : Azure.Core.ResourceIdentifier * Nullable<Guid> * Azure.ResourceManager.Consumption.Models.ConsumptionMeterDetails * string * Nullable<decimal> * string * Nullable<decimal> * string * string -> Azure.ResourceManager.Consumption.Models.PriceSheetProperties
Public Shared Function PriceSheetProperties (Optional billingPeriodId As ResourceIdentifier = Nothing, Optional meterId As Nullable(Of Guid) = Nothing, Optional meterDetails As ConsumptionMeterDetails = Nothing, Optional unitOfMeasure As String = Nothing, Optional includedQuantity As Nullable(Of Decimal) = Nothing, Optional partNumber As String = Nothing, Optional unitPrice As Nullable(Of Decimal) = Nothing, Optional currencyCode As String = Nothing, Optional offerId As String = Nothing) As PriceSheetProperties
Parameters
- billingPeriodId
- ResourceIdentifier
The id of the billing period resource that the usage belongs to.
- meterDetails
- ConsumptionMeterDetails
The details about the meter. By default this is not populated, unless it's specified in $expand.
- unitOfMeasure
- String
Unit of measure.
- partNumber
- String
Part Number.
- currencyCode
- String
Currency Code.
- offerId
- String
Offer Id.
Returns
A new PriceSheetProperties instance for mocking.