Share via


EvaluationRules.GetAll Method

Definition

Overloads

Name Description
GetAll(Nullable<EvaluationRuleActionType>, String, Nullable<Boolean>, CancellationToken)

List all evaluation rules.

GetAll(String, String, Nullable<Boolean>, RequestOptions)

[Protocol Method] List all evaluation rules.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

GetAll(Nullable<EvaluationRuleActionType>, String, Nullable<Boolean>, CancellationToken)

Source:
EvaluationRules.cs

List all evaluation rules.

public virtual System.ClientModel.CollectionResult<Azure.AI.Projects.EvaluationRule> GetAll(Azure.AI.Projects.EvaluationRuleActionType? actionType = default, string agentName = default, bool? enabled = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<Azure.AI.Projects.EvaluationRuleActionType> * string * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.EvaluationRule>
override this.GetAll : Nullable<Azure.AI.Projects.EvaluationRuleActionType> * string * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.EvaluationRule>
Public Overridable Function GetAll (Optional actionType As Nullable(Of EvaluationRuleActionType) = Nothing, Optional agentName As String = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As CollectionResult(Of EvaluationRule)

Parameters

actionType
Nullable<EvaluationRuleActionType>

Filter by the type of evaluation rule.

agentName
String

Filter by the agent name.

enabled
Nullable<Boolean>

Filter by the enabled status.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

Service returned a non-success status code.

Applies to

GetAll(String, String, Nullable<Boolean>, RequestOptions)

Source:
EvaluationRules.cs

[Protocol Method] List all evaluation rules.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.CollectionResult GetAll(string actionType, string agentName, bool? enabled, System.ClientModel.Primitives.RequestOptions options);
abstract member GetAll : string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
override this.GetAll : string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
Public Overridable Function GetAll (actionType As String, agentName As String, enabled As Nullable(Of Boolean), options As RequestOptions) As CollectionResult

Parameters

actionType
String

Filter by the type of evaluation rule.

agentName
String

Filter by the agent name.

enabled
Nullable<Boolean>

Filter by the enabled status.

options
RequestOptions

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to