QuantumModelFactory.QuantumJobQuota 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 QuantumJobQuota.
public static Azure.Quantum.Jobs.Models.QuantumJobQuota QuantumJobQuota(string dimension = default, Azure.Quantum.Jobs.Models.DimensionScope? scope = default, string providerId = default, float? utilization = default, float? holds = default, float? limit = default, Azure.Quantum.Jobs.Models.MeterPeriod? period = default);
static member QuantumJobQuota : string * Nullable<Azure.Quantum.Jobs.Models.DimensionScope> * string * Nullable<single> * Nullable<single> * Nullable<single> * Nullable<Azure.Quantum.Jobs.Models.MeterPeriod> -> Azure.Quantum.Jobs.Models.QuantumJobQuota
Public Shared Function QuantumJobQuota (Optional dimension As String = Nothing, Optional scope As Nullable(Of DimensionScope) = Nothing, Optional providerId As String = Nothing, Optional utilization As Nullable(Of Single) = Nothing, Optional holds As Nullable(Of Single) = Nothing, Optional limit As Nullable(Of Single) = Nothing, Optional period As Nullable(Of MeterPeriod) = Nothing) As QuantumJobQuota
Parameters
- dimension
- String
The name of the dimension associated with the quota.
- scope
- Nullable<DimensionScope>
The scope at which the quota is applied.
- providerId
- String
The unique identifier for the provider.
The amount of the usage that has been reserved but not applied for the current period.
- period
- Nullable<MeterPeriod>
The time period in which the quota's underlying meter is accumulated. Based on calendar year. 'None' is used for concurrent quotas.
Returns
A new QuantumJobQuota instance for mocking.
Applies to
Azure SDK for .NET