Class QuotaMetricPartitionState
- Namespace
- FoundationaLLM.Common.Models.Quota
- Assembly
- FoundationaLLM.Common.dll
Represents the state of a quota metric partition.
public class QuotaMetricPartitionState
- Inheritance
-
QuotaMetricPartitionState
- Inherited Members
- Extension Methods
Properties
LocalMetricCount
Gets or sets the number of units of the quota metric that have a local origin (the service instance hosting the quota metric sequence).
[JsonIgnore]
public int LocalMetricCount { get; set; }
Property Value
QuotaContext
Gets or sets the quota context that contains the partition.
[JsonPropertyName("quota_context")]
public required string QuotaContext { get; set; }
Property Value
QuotaExceeded
Gets or sets a value indicating whether the quota has been exceeded.
[JsonPropertyName("quota_exceeded")]
public bool QuotaExceeded { get; set; }
Property Value
QuotaMetricPartitionId
Gets or sets the identifier of the quota metric partition used for evaluation.
[JsonIgnore]
public required string QuotaMetricPartitionId { get; set; }
Property Value
QuotaName
Gets or sets the name of the quota that contains the partition.
[JsonPropertyName("quota_name")]
public required string QuotaName { get; set; }
Property Value
RemoteMetricCount
Gets or sets the number of units of the quota metric that have a remote origin (other service instances than the one hosting the quota metric sequence).
[JsonIgnore]
public int RemoteMetricCount { get; set; }
Property Value
TimeUntilRetrySeconds
Gets or sets the number of seconds until the request can be retried.
[JsonPropertyName("time_until_retry_seconds")]
public int TimeUntilRetrySeconds { get; set; }
Property Value
TotalMetricCount
Gets or sets the total number of units of the quota metric, both local and remote.
[JsonIgnore]
public int TotalMetricCount { get; set; }