QuotaSaveRequest
Request body for saving a quota rule.
Shape: object
| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
agentName |
no | string |
Gets the agent the rule is bound to. If left empty, the rule applies to all of the tenant’s runs. | — |
period |
no | QuotaPeriod |
Gets the counter’s reset interval. | — |
maxRuns |
no | integer (int64) |
Gets the maximum number of runs per period. | pattern `^-?(?:0\ |
maxTokens |
no | integer (int64) |
Gets the maximum number of tokens per period. | pattern `^-?(?:0\ |
maxCost |
no | number (double) |
Gets the maximum monetary amount per period. | pattern `^-?(?:0\ |
enabled |
no | boolean |
Gets whether the rule is enabled. | — |