Description | : Retrieve a scheduled query rule definitions in a subscription. |
Reference | : Link ¶ |
⚼ Request
GET:
/subscriptions/{subscriptionId}/providers/Microsoft.Insights/scheduledQueryRules
{
subscriptionId:
string
,
api-version:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
id:
string
,
name:
string
,
type:
string
,
identity:
{
,
principalId:
string
,
tenantId:
string
,
type:
enum
,
userAssignedIdentities:
object
,
}
tags:
object
,
location:
string
,
kind:
enum
,
etag:
string
,
systemData:
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
properties:
}
{
,
createdWithApiVersion:
string
,
isLegacyLogAnalyticsRule:
boolean
,
description:
string
,
displayName:
string
,
severity:
integer
,
enabled:
boolean
,
scopes:
[
,
string
,
]
evaluationFrequency:
string
,
windowSize:
string
,
overrideQueryTimeRange:
string
,
targetResourceTypes:
[
,
string
,
]
criteria:
{
,
allOf:
}
[
]
,
{
,
criterionType:
enum
,
query:
string
,
timeAggregation:
enum
,
metricMeasureColumn:
string
,
resourceIdColumn:
string
,
dimensions:
[
]
,
{
,
name:
string
,
operator:
enum
,
values:
}
[
,
string
,
]
operator:
enum
,
threshold:
number
,
alertSensitivity:
string
,
ignoreDataBefore:
string
,
failingPeriods:
{
,
numberOfEvaluationPeriods:
integer
,
minFailingPeriodsToAlert:
integer
,
}
metricName:
string
,
minRecurrenceCount:
integer
,
}
muteActionsDuration:
string
,
actions:
{
,
actionGroups:
[
,
string
,
]
customProperties:
object
,
actionProperties:
object
,
}
isWorkspaceAlertsStorageConfigured:
boolean
,
checkWorkspaceAlertsStorageConfigured:
boolean
,
skipQueryValidation:
boolean
,
autoMitigate:
boolean
,
resolveConfiguration:
}
{
,
autoResolved:
boolean
,
timeToResolve:
string
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
]
,
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}