Skip to content

Commit 339675b

Browse files
authored
update operationstatus model to match arm contract to fix livevalidation (#20957)
1 parent 2007747 commit 339675b

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/devcenter.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3478,6 +3478,11 @@
34783478
"type": "string",
34793479
"readOnly": true
34803480
},
3481+
"resourceId": {
3482+
"description": "The id of the resource.",
3483+
"type": "string",
3484+
"readOnly": true
3485+
},
34813486
"startTime": {
34823487
"description": "The start time of the operation",
34833488
"type": "string",

specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-08-01-preview/examples/OperationStatus_Get.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"body": {
1111
"id": "3fa1a29d-e807-488d-81d1-f1c5456a08cd",
1212
"status": "Succeeded",
13+
"resourceId": "/subscriptions/{subscriptionId}/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso",
1314
"startTime": "2020-12-01T15:16:29.500Z",
1415
"endTime": "2020-12-01T15:16:55.100Z",
1516
"percentComplete": 100
@@ -19,6 +20,7 @@
1920
"body": {
2021
"id": "3fa1a29d-e807-488d-81d1-f1c5456a08cd",
2122
"status": "Succeeded",
23+
"resourceId": "/subscriptions/{subscriptionId}/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso",
2224
"startTime": "2020-12-01T15:16:29.500Z",
2325
"endTime": "2020-12-01T15:16:55.100Z",
2426
"percentComplete": 99

specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/devcenter.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3617,6 +3617,11 @@
36173617
"type": "string",
36183618
"readOnly": true
36193619
},
3620+
"resourceId": {
3621+
"description": "The id of the resource.",
3622+
"type": "string",
3623+
"readOnly": true
3624+
},
36203625
"startTime": {
36213626
"description": "The start time of the operation",
36223627
"type": "string",

specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2022-09-01-preview/examples/OperationStatus_Get.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"body": {
1111
"id": "3fa1a29d-e807-488d-81d1-f1c5456a08cd",
1212
"status": "Succeeded",
13+
"resourceId": "/subscriptions/{subscriptionId}/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso",
1314
"startTime": "2020-12-01T15:16:29.500Z",
1415
"endTime": "2020-12-01T15:16:55.100Z",
1516
"percentComplete": 100
@@ -19,6 +20,7 @@
1920
"body": {
2021
"id": "3fa1a29d-e807-488d-81d1-f1c5456a08cd",
2122
"status": "Succeeded",
23+
"resourceId": "/subscriptions/{subscriptionId}/resourceGroups/rg1/providers/Microsoft.DevCenter/devcenters/Contoso",
2224
"startTime": "2020-12-01T15:16:29.500Z",
2325
"endTime": "2020-12-01T15:16:55.100Z",
2426
"percentComplete": 99

0 commit comments

Comments
 (0)