EvaluationRulesOperations interface
Operations for EvaluationRulesOperations.
Properties
| create |
Creates a new evaluation rule, or replaces the existing rule when the identifier matches. |
| delete | Removes the specified evaluation rule from the project. |
| get | Retrieves the specified evaluation rule and its configuration. |
| list | Returns the evaluation rules configured for the project, including scheduled trace and dataset evaluations, optionally filtered by action type, agent name, or enabled state. |
Property Details
createOrUpdate
Creates a new evaluation rule, or replaces the existing rule when the identifier matches.
createOrUpdate: (id: string, evaluationRule: EvaluationRule, options?: EvaluationRulesCreateOrUpdateOptionalParams) => Promise<EvaluationRule>
Property Value
(id: string, evaluationRule: EvaluationRule, options?: EvaluationRulesCreateOrUpdateOptionalParams) => Promise<EvaluationRule>
delete
Removes the specified evaluation rule from the project.
delete: (id: string, options?: EvaluationRulesDeleteOptionalParams) => Promise<void>
Property Value
(id: string, options?: EvaluationRulesDeleteOptionalParams) => Promise<void>
get
Retrieves the specified evaluation rule and its configuration.
get: (id: string, options?: EvaluationRulesGetOptionalParams) => Promise<EvaluationRule>
Property Value
(id: string, options?: EvaluationRulesGetOptionalParams) => Promise<EvaluationRule>
list
Returns the evaluation rules configured for the project, including scheduled trace and dataset evaluations, optionally filtered by action type, agent name, or enabled state.
list: (options?: EvaluationRulesListOptionalParams) => PagedAsyncIterableIterator<EvaluationRule, EvaluationRule[], PageSettings>
Property Value
(options?: EvaluationRulesListOptionalParams) => PagedAsyncIterableIterator<EvaluationRule, EvaluationRule[], PageSettings>