Class OverrideQuotaForOriginCommandSettings
Override quota for the specified origin
public sealed class OverrideQuotaForOriginCommandSettings : ICommand
- Inheritance
-
OverrideQuotaForOriginCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
Origin
Security origin.
[JsonPropertyName("origin")]
public string Origin { get; set; }
Property Value
QuotaSize
The quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).
[JsonPropertyName("quotaSize")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? QuotaSize { get; set; }