QuantumModelFactory.UsageEvent 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 UsageEvent.
public static Azure.Quantum.Jobs.Models.UsageEvent UsageEvent(string dimensionId = default, string dimensionName = default, string measureUnit = default, float? amountBilled = default, float? amountConsumed = default, float? unitPrice = default);
static member UsageEvent : string * string * string * Nullable<single> * Nullable<single> * Nullable<single> -> Azure.Quantum.Jobs.Models.UsageEvent
Public Shared Function UsageEvent (Optional dimensionId As String = Nothing, Optional dimensionName As String = Nothing, Optional measureUnit As String = Nothing, Optional amountBilled As Nullable(Of Single) = Nothing, Optional amountConsumed As Nullable(Of Single) = Nothing, Optional unitPrice As Nullable(Of Single) = Nothing) As UsageEvent
Parameters
- dimensionId
- String
The dimension id.
- dimensionName
- String
The dimension name.
- measureUnit
- String
The unit of measure.
Returns
A new UsageEvent instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET