Skip to content

Commit 35d3f35

Browse files
VinayRSoniMirzaSikander
authored andcommitted
add 202 status for restart (Azure#13376)
* add 202 status for restart * lint fix
1 parent 8e0c5da commit 35d3f35

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/restartComputeInstance.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"api-version": "2021-01-01"
88
},
99
"responses": {
10-
"200": {}
10+
"202": {}
1111
}
1212
}

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,7 @@
11801180
"$ref": "./examples/restartComputeInstance.json"
11811181
}
11821182
},
1183+
"x-ms-long-running-operation": true,
11831184
"parameters": [
11841185
{
11851186
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -1198,7 +1199,7 @@
11981199
}
11991200
],
12001201
"responses": {
1201-
"200": {
1202+
"202": {
12021203
"description": "Success."
12031204
},
12041205
"default": {

0 commit comments

Comments
 (0)