Ugrás a fő tartalomhoz

Ezt a böngészőt már nem támogatjuk.

Frissítsen a Microsoft Edge-re, hogy kihasználhassa a legújabb funkciókat, a biztonsági frissítéseket és a technikai támogatást.

A Microsoft Edge letöltése További információk az Internet Explorerről és a Microsoft Edge-ről
microsoft-foundry.rest.security.o-auth2-auth

Evaluation Rules

Create or update an evaluation rule

PUT /evaluationrules/{id}

Creates a new evaluation rule, or replaces the existing rule when the identifier matches.

Paraméterek lekérdezése

api-version string kötelező

The API version to use for this operation.

Elérési útvonal paraméterei

id string kötelező

Unique identifier for the evaluation rule.

Fejlécparaméterek

Foundry-Features enum

A feature flag opt-in required when using preview operations or modifying persisted preview resources.

Evaluations=V1Preview

Kérelem törzse

Evaluation rule resource

Content-Type: application/json
id string kötelező

Unique identifier for the evaluation rule.

displayName string

Display Name for the evaluation rule.

description string

Description for the evaluation rule.

action continuousEvaluation | humanEvaluationPreview kötelező

Evaluation action model.

Az alábbiak valamelyikének telepítve kell lennie:
continuousEvaluation ContinuousEvaluationRuleAction

Evaluation rule action for continuous evaluation.

type enum kötelező
continuousEvaluation
evalId string kötelező

Eval Id to add continuous evaluation runs to.

maxHourlyRuns integer

Maximum number of evaluation runs allowed per hour.

samplingRate number

Percentage (0-100] chance that a matching event triggers an evaluation. When omitted, the service-default is to evaluate every event, which is equivalent to setting a sampling rate of 100.

humanEvaluationPreview HumanEvaluationPreviewRuleAction

Evaluation rule action for human evaluation.

type enum kötelező
humanEvaluationPreview
templateId string kötelező

Identifier of a saved asset.

filter EvaluationRuleFilter

Evaluation filter model.

agentName string kötelező

Filter by agent name.

eventType string | enum kötelező

Type of the evaluation rule event.

A következők bármelyike:
string
enum
responseCompletedmanual
enabled boolean kötelező

Indicates whether the evaluation rule is enabled. Default is true.

systemData object kötelező

System metadata for the evaluation rule.

[key: string] string

Válaszok

The request has succeeded.

Törzs

Content-Type: application/json
id string kötelező

Unique identifier for the evaluation rule.

displayName string

Display Name for the evaluation rule.

description string

Description for the evaluation rule.

action continuousEvaluation | humanEvaluationPreview kötelező

Evaluation action model.

Az alábbiak valamelyikének telepítve kell lennie:
continuousEvaluation ContinuousEvaluationRuleAction

Evaluation rule action for continuous evaluation.

type enum kötelező
continuousEvaluation
evalId string kötelező

Eval Id to add continuous evaluation runs to.

maxHourlyRuns integer

Maximum number of evaluation runs allowed per hour.

samplingRate number

Percentage (0-100] chance that a matching event triggers an evaluation. When omitted, the service-default is to evaluate every event, which is equivalent to setting a sampling rate of 100.

humanEvaluationPreview HumanEvaluationPreviewRuleAction

Evaluation rule action for human evaluation.

type enum kötelező
humanEvaluationPreview
templateId string kötelező

Identifier of a saved asset.

filter EvaluationRuleFilter

Evaluation filter model.

agentName string kötelező

Filter by agent name.

eventType string | enum kötelező

Type of the evaluation rule event.

A következők bármelyike:
string
enum
responseCompletedmanual
enabled boolean kötelező

Indicates whether the evaluation rule is enabled. Default is true.

systemData object kötelező

System metadata for the evaluation rule.

[key: string] string

The request has succeeded and a new resource has been created as a result.

Törzs

Content-Type: application/json
id string kötelező

Unique identifier for the evaluation rule.

displayName string

Display Name for the evaluation rule.

description string

Description for the evaluation rule.

action continuousEvaluation | humanEvaluationPreview kötelező

Evaluation action model.

Az alábbiak valamelyikének telepítve kell lennie:
continuousEvaluation ContinuousEvaluationRuleAction

Evaluation rule action for continuous evaluation.

type enum kötelező
continuousEvaluation
evalId string kötelező

Eval Id to add continuous evaluation runs to.

maxHourlyRuns integer

Maximum number of evaluation runs allowed per hour.

samplingRate number

Percentage (0-100] chance that a matching event triggers an evaluation. When omitted, the service-default is to evaluate every event, which is equivalent to setting a sampling rate of 100.

humanEvaluationPreview HumanEvaluationPreviewRuleAction

Evaluation rule action for human evaluation.

type enum kötelező
humanEvaluationPreview
templateId string kötelező

Identifier of a saved asset.

filter EvaluationRuleFilter

Evaluation filter model.

agentName string kötelező

Filter by agent name.

eventType string | enum kötelező

Type of the evaluation rule event.

A következők bármelyike:
string
enum
responseCompletedmanual
enabled boolean kötelező

Indicates whether the evaluation rule is enabled. Default is true.

systemData object kötelező

System metadata for the evaluation rule.

[key: string] string

Client error

Fejlécek

x-ms-error-code string

String error code indicating what went wrong.

Törzs

Content-Type: application/json
error Azure.Core.Foundations.Error kötelező

The error object.

code string kötelező

One of a server-defined set of error codes.

message string kötelező

A human-readable representation of the error.

target string

The target of the error.

details Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

code string

One of a server-defined set of error codes.

innererror Azure.Core.Foundations.InnerError

Server error

Fejlécek

x-ms-error-code string

String error code indicating what went wrong.

Törzs

Content-Type: application/json
error Azure.Core.Foundations.Error kötelező

The error object.

code string kötelező

One of a server-defined set of error codes.

message string kötelező

A human-readable representation of the error.

target string

The target of the error.

details Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

code string

One of a server-defined set of error codes.

innererror Azure.Core.Foundations.InnerError

Kérés

PUT /evaluationrules/{id} HTTP/1.1

Válasz

Status: 200
Content-Type: application/json
Status: 201
Content-Type: application/json
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json
hu-hu
Az Ön adatvédelmi választási lehetőségei
  • AI-jogi nyilatkozat
  • Korábbi verziók
  • Blog
  • Közreműködés
  • Adatvédelem
  • A Consumer Health adatvédelmi nyilatkozata
  • Használati feltételek
  • Védjegyek
  • © Microsoft 2026