Skip to content

Commit f4aeebb

Browse files
return a resource from patch (#15754)
Co-authored-by: Geoffrey Troyer <geoffreymtroyer@gmail.com>
1 parent e1eca38 commit f4aeebb

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

specification/notebooks/resource-manager/Microsoft.Notebooks/preview/2019-10-11-preview/examples/NBResourcePatch.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,18 @@
1010
}
1111
},
1212
"responses": {
13-
"200": {},
13+
"200": {
14+
"body": {
15+
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRP/providers/Microsoft.Notebooks/NotebookProxies/testResource",
16+
"name": "testResource",
17+
"type": "Microsoft.Notebooks/NotebookProxies",
18+
"properties": {
19+
"resourceId": "acc07b62291e4a4a800f71ff252e0654",
20+
"hostname": "Azure Notebooks",
21+
"publicNetworkAccess": "Enabled"
22+
}
23+
}
24+
},
1425
"404": {}
1526
}
1627
}

specification/notebooks/resource-manager/Microsoft.Notebooks/preview/2019-10-11-preview/notebooks.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,10 @@
249249
],
250250
"responses": {
251251
"200": {
252-
"description": "OK"
252+
"description": "OK",
253+
"schema": {
254+
"$ref": "#/definitions/NotebookProxy"
255+
}
253256
},
254257
"404": {
255258
"description": "NotFound"

0 commit comments

Comments
 (0)