EvaluationRules.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetAllAsync(Nullable<EvaluationRuleActionType>, String, Nullable<Boolean>, CancellationToken) |
List all evaluation rules. |
| GetAllAsync(String, String, Nullable<Boolean>, RequestOptions) |
[Protocol Method] List all evaluation rules.
|
GetAllAsync(Nullable<EvaluationRuleActionType>, String, Nullable<Boolean>, CancellationToken)
- Source:
- EvaluationRules.cs
List all evaluation rules.
public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.EvaluationRule> GetAllAsync(Azure.AI.Projects.EvaluationRuleActionType? actionType = default, string agentName = default, bool? enabled = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<Azure.AI.Projects.EvaluationRuleActionType> * string * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.EvaluationRule>
override this.GetAllAsync : Nullable<Azure.AI.Projects.EvaluationRuleActionType> * string * Nullable<bool> * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.EvaluationRule>
Public Overridable Function GetAllAsync (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 AsyncCollectionResult(Of EvaluationRule)
Parameters
- actionType
- Nullable<EvaluationRuleActionType>
Filter by the type of evaluation rule.
- agentName
- String
Filter by the agent name.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
Service returned a non-success status code.
Applies to
GetAllAsync(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.AsyncCollectionResult GetAllAsync(string actionType, string agentName, bool? enabled, System.ClientModel.Primitives.RequestOptions options);
abstract member GetAllAsync : string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
override this.GetAllAsync : string * string * Nullable<bool> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
Public Overridable Function GetAllAsync (actionType As String, agentName As String, enabled As Nullable(Of Boolean), options As RequestOptions) As AsyncCollectionResult
Parameters
- actionType
- String
Filter by the type of evaluation rule.
- agentName
- String
Filter by the agent name.
- 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.