Skip to content

Commit ec0ec09

Browse files
appinsights, fix example (#36165)
1 parent ebe3f1e commit ec0ec09

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigCreate.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,10 @@
77
"WorkItemConfigurationProperties": {
88
"ConnectorId": "d334e2a4-6733-488e-8645-a9fdc1694f41",
99
"ConnectorDataConfiguration": "{\"VSOAccountBaseUrl\":\"https://testtodelete.visualstudio.com\",\"ProjectCollection\":\"DefaultCollection\",\"Project\":\"todeletefirst\",\"ResourceId\":\"d0662b05-439a-4a1b-840b-33a7f8b42ebf\",\"Custom\":\"{\\\"/fields/System.WorkItemType\\\":\\\"Bug\\\",\\\"/fields/System.AreaPath\\\":\\\"todeletefirst\\\",\\\"/fields/System.AssignedTo\\\":\\\"\\\"}\"}",
10-
"WorkItemProperties": [
11-
{
12-
"name": "Title",
13-
"value": "Validate Only Title"
14-
},
15-
{
16-
"name": "Description",
17-
"value": "Validate Only Description"
18-
}
19-
],
10+
"WorkItemProperties": {
11+
"name": "Title",
12+
"value": "Validate Only Title"
13+
},
2014
"ValidateOnly": true
2115
}
2216
},

specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigUpdate.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,10 @@
88
"WorkItemConfigurationProperties": {
99
"ConnectorId": "d334e2a4-6733-488e-8645-a9fdc1694f41",
1010
"ConnectorDataConfiguration": "{\"VSOAccountBaseUrl\":\"https://testtodelete.visualstudio.com\",\"ProjectCollection\":\"DefaultCollection\",\"Project\":\"todeletefirst\",\"ResourceId\":\"d0662b05-439a-4a1b-840b-33a7f8b42ebf\",\"Custom\":\"{\\\"/fields/System.WorkItemType\\\":\\\"Bug\\\",\\\"/fields/System.AreaPath\\\":\\\"todeletefirst\\\",\\\"/fields/System.AssignedTo\\\":\\\"\\\"}\"}",
11-
"WorkItemProperties": [
12-
{
13-
"name": "Title",
14-
"value": "Validate Only Title"
15-
},
16-
{
17-
"name": "Description",
18-
"value": "Validate Only Description"
19-
}
20-
],
11+
"WorkItemProperties": {
12+
"name": "Title",
13+
"value": "Validate Only Title"
14+
},
2115
"ValidateOnly": true
2216
}
2317
},

0 commit comments

Comments
 (0)