Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
0e0a07b
Improving examples captured using Fiddler and changing the type for t…
gucalder Nov 23, 2016
14d17e9
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
gucalder Nov 30, 2016
a7b2fc1
Making StorageAccountId optional in LogProfileProperties / LogProfile…
gucalder Nov 30, 2016
ba352db
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Feb 10, 2017
f3754c7
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Feb 14, 2017
1773d98
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Feb 16, 2017
a213a7f
[Swagger] Making resource name readonly.
gucalder Mar 3, 2017
5e54930
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Mar 3, 2017
22bb35e
[Swagger] Marking usage metrics as deprecated and reducing warnings a…
gucalder Mar 3, 2017
72d89ef
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Mar 6, 2017
450ad15
Adding default response
gucalder Mar 9, 2017
31bd109
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Mar 9, 2017
f2a2b92
Making categories and retentionPolicy requuired in logProfiles put (i…
gucalder Mar 10, 2017
bda0aec
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Mar 10, 2017
8173b8f
[Swagger] Removing filter parameter from list operations: autoscale a…
gucalder Mar 12, 2017
90f7bb5
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Mar 12, 2017
3740402
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Mar 13, 2017
c2458d3
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Mar 13, 2017
cb7fbf2
Adding the security and securityDefinitions to the APIs specs
gucalder Mar 14, 2017
f01dcf3
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Mar 14, 2017
6de0614
Removing 'metricNamespace' attribute from some examples (AlertRules) …
gucalder Mar 15, 2017
9d973ea
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Mar 15, 2017
b5d2c44
Adding required attribute to the examples after verifying that it is …
gucalder Mar 16, 2017
33dad7a
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Mar 17, 2017
c770fea
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Mar 24, 2017
83effb8
Add ActivityLogAlerts swagger documentation
davmc Mar 28, 2017
06cfecb
Adding the eventHubAuthorizationRuleId property to the diagnosticSett…
gucalder Mar 29, 2017
a42674e
Increase the version of the call for diagnosticSettings to 2016-03-01
vcanaa Mar 21, 2017
82df9e7
[Monitor] Named diagnostic settings
vcanaa Mar 31, 2017
4740d2e
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
davmc Apr 4, 2017
502e1ee
Making AutoscaleSetting name optional (first step to remove it.) Impr…
gucalder Apr 4, 2017
0a3dded
Merge branch 'master' of https://github.com/AuxMon/azure-rest-api-specs
davmc Apr 4, 2017
7007e62
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Apr 4, 2017
b8abdd2
Merge branch 'master' of https://github.com/AuxMon/azure-rest-api-specs
davmc Apr 4, 2017
949caa6
Minor change to a description to pass the validation step.
gucalder Apr 4, 2017
56b60f0
Reverting a change to arm-insights since it must remain unchanged (in…
gucalder Apr 5, 2017
8dbb73a
[Swagger] Adding patch operations, change folder name for activity lo…
gucalder Apr 6, 2017
034baa1
Category support for metrics in diagnostics settings (on behalf of Sh…
gucalder Apr 7, 2017
b2c2fa9
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Apr 7, 2017
337daa1
Fixing the api-version for diagnostics settings
gucalder Apr 7, 2017
e1d4d19
Fixing incorrect name in one parameter of one example and capitalizin…
gucalder Apr 8, 2017
60e5123
Adding deprecation tags and messages to the old diagnostic settings api
gucalder Apr 14, 2017
b1af5b8
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Apr 14, 2017
18d6f6e
Merge branch 'master' of https://github.com/AuxMon/azure-rest-api-specs
gucalder Apr 14, 2017
7689f0c
Add swagger documentation for the Action Groups API
wilyle Apr 18, 2017
5c1157f
Add new api-version for ActivityLogAlerts
davmc Apr 24, 2017
60a0e53
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
davmc Apr 25, 2017
c68b48a
[Monitoring] Remove diagnosticSettings_API from the generation
vcanaa Apr 26, 2017
d637f1b
[Monitoring] Remove diagnosticSettings_API until ready for release
vcanaa Apr 26, 2017
e77a3d6
[Monitoring] Removing the deprecation flag
vcanaa Apr 26, 2017
06a12c1
Removing deprecation message from patch operation serviceDiagnosticSe…
gucalder Apr 27, 2017
9381876
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Apr 27, 2017
eb0d0d0
Improving documentation for metrics and activity logs
gucalder Apr 28, 2017
32f07c9
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
gucalder Apr 28, 2017
fd7eb46
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Apr 28, 2017
bb988f5
Marking preview activityLog alerts as deprecated.
gucalder Apr 28, 2017
75ed682
Merge branch 'master' of https://github.com/AuxMon/azure-rest-api-spe…
gucalder Apr 28, 2017
e3db47c
Adding examples for alert rules
gucalder Apr 28, 2017
1ce4531
Adding examples autoscale and fixing error in alert rules examples
gucalder Apr 29, 2017
7bd9b98
Adding examples for the LogProfiles API
gucalder May 2, 2017
6657dd4
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
gucalder May 2, 2017
fbd38eb
Adding examples for the ServiceDiagnosticSetting API. Fixing minor is…
gucalder May 2, 2017
5afb676
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder May 2, 2017
0d49af5
Merge branch 'documentation' of https://github.com/AuxMon/azure-rest-…
gucalder May 2, 2017
af8b0cf
Fixing example files and a reference to an example file
gucalder May 2, 2017
5e544a5
Fixing casing of a filename
gucalder May 2, 2017
4cad092
Moving $filter declarations to the operations section to avoid error …
gucalder May 2, 2017
06db882
Including feedback from the review of the PR.
gucalder May 3, 2017
862083e
Adding (again) PATCH operation to the activityLogAlerts API.
gucalder May 4, 2017
c3214d3
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder May 4, 2017
7ad7f1f
Removing min/max specs since the server already checks these limits.
gucalder May 4, 2017
4f6bcb0
Making body of the patch operation independent of Resource to avoid v…
gucalder May 4, 2017
03037fd
Removing location from the Patch body in ActivityLogAlerts API.
gucalder May 4, 2017
4afb0f0
Fixing example of the ActivityLogAlert API for PATCH.
gucalder May 4, 2017
dbc8bb2
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder May 4, 2017
280a6ae
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder May 9, 2017
4bf7524
Adding minimum to the retention days (bug detected during Node.js gen…
gucalder May 17, 2017
05d3edf
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder May 17, 2017
0a5ca50
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder May 18, 2017
e362884
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder May 22, 2017
e120f28
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder May 30, 2017
c62cf58
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Jun 8, 2017
c3b30e0
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Jun 29, 2017
eae6394
Adding a success status code (201) to alert rules API and fixing erro…
gucalder Jun 29, 2017
48bb2ab
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder Jul 24, 2017
99c323c
Fixing issue #1475: incorrect example in LogProfiles AI documentation…
gucalder Jul 26, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 47 additions & 66 deletions arm-monitor/2016-03-01/examples/createOrUpdateLogProfile.json
Original file line number Diff line number Diff line change
@@ -1,92 +1,73 @@
{
"parameters": {
"subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
"subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192",
"logProfileName": "Rac46PostSwapRG",
"api-version": "2016-03-01",
"parameters": {
"location": "West US",
"location": "",
"tags": { },
"properties": {
"name":"chiricutin",
"description":"Pura Vida",
"isEnabled":true,
"condition": {
"odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"dataSource": {
"odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
"metricName":"Requests"
},
"operator":"GreaterThan",
"threshold":3.0,
"windowSize":"PT5M",
"timeAggregation":"Total"
"locations": [ "global" ],
"categories": [ "Write", "Delete", "Action" ],
"retentionPolicy": {
"enabled": true,
"days": 3
},
"lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
"actions":[]
"storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
"serviceBusRuleId": ""
}
}
},
"responses": {
"200": {
"headers": { },
"body": {
"id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
"name":"chiricutin",
"type":"Microsoft.Insights/alertRules",
"location":"West US",
"tags": {
"$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource"
},
"id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default",
"type":"",
"name":"default",
"location":"",
"tags":null,
"properties": {
"name":"chiricutin",
"description":"Pura Vida",
"isEnabled":true,
"condition": {
"odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"dataSource": {
"odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
"metricName":"Requests"
},
"operator":"GreaterThan",
"threshold":3.0,
"windowSize":"PT5M",
"timeAggregation":"Total"
},
"lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
"actions":[]
"storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
"serviceBusRuleId":"",
"locations":[
"global"
],
"categories": [
"Delete",
"Write",
"Action"
],
"retentionPolicy": {
"enabled":true,
"days":3
}
}
}
},
"201": {
"headers": { },
"body": {
"id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
"name":"chiricutin",
"type":"Microsoft.Insights/alertRules",
"location":"West US",
"tags": {
"$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource"
},
"id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default",
"type":"",
"name":"default",
"location":"",
"tags":null,
"properties": {
"name":"chiricutin",
"description":"Pura Vida",
"isEnabled":true,
"condition": {
"odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"dataSource": {
"odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
"metricName":"Requests"
},
"operator":"GreaterThan",
"threshold":3.0,
"windowSize":"PT5M",
"timeAggregation":"Total"
},
"lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
"actions":[]
"storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
"serviceBusRuleId":"",
"locations":[
"global"
],
"categories": [
"Delete",
"Write",
"Action"
],
"retentionPolicy": {
"enabled":true,
"days":3
}
}
}
}
Expand Down
66 changes: 66 additions & 0 deletions arm-monitor/2016-03-01/swagger/alertRules_API.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,72 @@
"description": "Successful request to update an alert rule",
"schema": {
"$ref": "#/definitions/AlertRuleResource"
},
"examples": {
"application/json": {
"id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
"name":"chiricutin",
"type":"Microsoft.Insights/alertRules",
"location":"West US",
"tags": {
"$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest2":"Resource"
},
"properties": {
"name":"chiricutin",
"description":"Pura Vida",
"isEnabled":false,
"condition": {
"odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"dataSource": {
"odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
"metricName":"Requests"
},
"operator":"GreaterThan",
"threshold":3.0,
"windowSize":"PT5M",
"timeAggregation":"Total"
},
"lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
"actions":[]
}
}
}
},
"201": {
"description": "Successful request to update an alert rule that resulted in a creation of the alert rule",
"schema": {
"$ref": "#/definitions/AlertRuleResource"
},
"examples": {
"application/json": {
"id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
"name":"chiricutin",
"type":"Microsoft.Insights/alertRules",
"location":"West US",
"tags": {
"$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest2":"Resource"
},
"properties": {
"name":"chiricutin",
"description":"Pura Vida",
"isEnabled":false,
"condition": {
"odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
"dataSource": {
"odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
"resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
"metricName":"Requests"
},
"operator":"GreaterThan",
"threshold":3.0,
"windowSize":"PT5M",
"timeAggregation":"Total"
},
"lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
"actions":[]
}
}
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions arm-monitor/2016-03-01/swagger/logProfiles_API.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
}
},
"x-ms-examples": {
"List alert rules": { "$ref": "../examples/deleteLogProfile.json" }
"Delete log profile": { "$ref": "../examples/deleteLogProfile.json" }
}
},
"get": {
Expand Down Expand Up @@ -117,7 +117,7 @@
}
},
"x-ms-examples": {
"List alert rules": { "$ref": "../examples/getLogProfile.json" }
"Get log profile": { "$ref": "../examples/getLogProfile.json" }
}
},
"put": {
Expand Down Expand Up @@ -180,7 +180,7 @@
}
},
"x-ms-examples": {
"List alert rules": { "$ref": "../examples/createOrUpdateLogProfile.json" }
"Create or update a log profile": { "$ref": "../examples/createOrUpdateLogProfile.json" }
}
},
"patch": {
Expand Down