Skip to content

Commit

Permalink
Updates to Scheduled Query Rule swagger
Browse files Browse the repository at this point in the history
  - making aznsaction paramter optional
  - removing hidden-link value from tags
pu
  • Loading branch information
shpimpal committed Feb 8, 2019
1 parent 277de73 commit f322a18
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"api-version": "2018-04-16",
"parameters": {
"location": "West Europe",
"tags": {
"hidden-link:/subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu": "Resource"
},
"tags": { },
"properties": {
"description": "log to metric description",
"enabled": "true",
Expand All @@ -35,9 +33,7 @@
"name": "logtometricfoo",
"type": "microsoft.insights/scheduledqueryrules",
"location": "westeurope",
"tags": {
"hidden-link:/subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu": "Resource"
},
"tags": { },
"properties": {
"description": "log to metric description",
"displayName": "logtometricfoo",
Expand Down Expand Up @@ -68,9 +64,7 @@
"name": "logtometricfoo",
"type": "microsoft.insights/scheduledqueryrules",
"location": "westeurope",
"tags": {
"hidden-link:/subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu": "Resource"
},
"tags": { },
"properties": {
"description": "log to metric description",
"enabled": "true",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"api-version": "2018-04-16",
"parameters": {
"location": "eastus",
"tags": {
"hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace": "Resource"
},
"tags": { },
"properties": {
"description": "log alert description",
"enabled": "true",
Expand Down Expand Up @@ -53,9 +51,7 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
"tags": {
"hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace": "Resource"
},
"tags": { },
"properties": {
"description": "log alert description",
"enabled": "true",
Expand Down Expand Up @@ -99,9 +95,7 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
"tags": {
"hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace": "Resource"
},
"tags": { },
"properties": {
"description": "log alert description",
"enabled": "true",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"api-version": "2018-04-16",
"parameters": {
"location": "eastus",
"tags": {
"hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
},
"tags": { },
"properties": {
"description": "Sample Cross Resource alert",
"enabled": "true",
Expand Down Expand Up @@ -48,9 +46,7 @@
"name": "SampleCrossResourceAlert",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
"tags": {
"hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
},
"tags": { },
"properties": {
"description": "Sample Cross Resource alert",
"enabled": "true",
Expand Down Expand Up @@ -91,9 +87,7 @@
"name": "SampleCrossResourceAlert",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
"tags": {
"hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
},
"tags": { },
"properties": {
"description": "Sample Cross Resource alert",
"enabled": "true",
Expand Down Expand Up @@ -128,4 +122,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "West US",
"tags": {
"hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
},
"tags": { },
"properties": {
"description": "log alert description",
"enabled": "true",
Expand Down Expand Up @@ -47,4 +45,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "West US",
"tags": {
"hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
},
"tags": { },
"properties": {
"description": "log alert description",
"enabled": "false",
Expand Down Expand Up @@ -57,9 +55,7 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "West US",
"tags": {
"hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
},
"tags": { },
"properties": {
"description": "log alert description",
"enabled": "true",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "West US",
"tags": {
"hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
},
"tags": {},
"properties": {
"description": "log alert description",
"enabled": "true",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,6 @@
}
},
"required": [
"aznsAction",
"trigger",
"severity"
]
Expand Down

0 comments on commit f322a18

Please sign in to comment.