Cognitive Services¶
Filters¶
- Standard Value Filter (see Generic Filters)
Model: CognitiveServicesAccount
- ARM Resource Filters (see Generic Filters)
Metric Filter - Filter on metrics from Azure Monitor - (see Cognitive Services Supported Metrics)
Tag Filter - Filter on tag presence and/or values
Marked-For-Op Filter - Filter on tag that indicates a scheduled operation for a resource
Actions¶
ARM Resource Actions (see Generic Actions)
Example Policies¶
This policy will find all Cognitive Service accounts with 1000 or more total errors over the 72 hours
policies:
- name: cogserv-many-failures
resource: azure.cognitiveservice
filters:
- type: metric
metric: TotalErrors
op: ge
aggregation: total
threshold: 1000
timeframe: 72