Skip to content

Commit

Permalink
Adding 202 Accepted for deletion call (Azure#15874)
Browse files Browse the repository at this point in the history
* Adding 202 for deletion call

* Adding headers to suppress warnings
  • Loading branch information
sureleo authored Sep 15, 2021
1 parent 14abb42 commit e23a590
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@
"200": {
"description": "Successfully deleted the SQL Managed Instance."
},
"202": {
"description": "Resource deletion is in progress."
},
"default": {
"description": "*** Error Responses: ***",
"schema": {
Expand All @@ -287,7 +290,8 @@
"Delete a SQL Instance.": {
"$ref": "./examples/DeleteSqlManagedInstance.json"
}
}
},
"x-ms-long-running-operation": true
},
"patch": {
"tags": [
Expand Down Expand Up @@ -565,6 +569,9 @@
"200": {
"description": "Successfully deleted the SQL Server Instance."
},
"202": {
"description": "Resource deletion is in progress."
},
"default": {
"description": "*** Error Responses: ***",
"schema": {
Expand All @@ -579,7 +586,8 @@
"Delete a SQL Server Instance.": {
"$ref": "./examples/DeleteSqlServerInstance.json"
}
}
},
"x-ms-long-running-operation": true
},
"patch": {
"tags": [
Expand Down Expand Up @@ -857,6 +865,9 @@
"200": {
"description": "Successfully deleted the Postgres Instance."
},
"202": {
"description": "Resource deletion is in progress."
},
"default": {
"description": "*** Error Responses: ***",
"schema": {
Expand All @@ -871,7 +882,8 @@
"Deletes a PostgresInstances.": {
"$ref": "./examples/DeletePostgresInstance.json"
}
}
},
"x-ms-long-running-operation": true
},
"patch": {
"tags": [
Expand Down Expand Up @@ -1101,6 +1113,9 @@
"200": {
"description": "Successfully deleted the DataController."
},
"202": {
"description": "Resource deletion is in progress."
},
"default": {
"description": "*** Error Responses: ***",
"schema": {
Expand All @@ -1115,7 +1130,8 @@
"Delete a dataController.": {
"$ref": "./examples/DeleteDataController.json"
}
}
},
"x-ms-long-running-operation": true
},
"get": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@
"200": {
"description": "Successfully deleted the SQL Managed Instance."
},
"202": {
"description": "Resource deletion is in progress.."
},
"default": {
"description": "*** Error Responses: ***",
"schema": {
Expand All @@ -287,7 +290,8 @@
"Delete a SQL Instance.": {
"$ref": "./examples/DeleteSqlManagedInstance.json"
}
}
},
"x-ms-long-running-operation": true
},
"patch": {
"tags": [
Expand Down Expand Up @@ -565,6 +569,9 @@
"200": {
"description": "Successfully deleted the SQL Server Instance."
},
"202": {
"description": "Resource deletion is in progress."
},
"default": {
"description": "*** Error Responses: ***",
"schema": {
Expand All @@ -579,7 +586,8 @@
"Delete a SQL Server Instance.": {
"$ref": "./examples/DeleteSqlServerInstance.json"
}
}
},
"x-ms-long-running-operation": true
},
"patch": {
"tags": [
Expand Down Expand Up @@ -809,6 +817,9 @@
"200": {
"description": "Successfully deleted the DataController."
},
"202": {
"description": "Resource deletion is in progress."
},
"default": {
"description": "*** Error Responses: ***",
"schema": {
Expand All @@ -823,7 +834,8 @@
"Delete a dataController.": {
"$ref": "./examples/DeleteDataController.json"
}
}
},
"x-ms-long-running-operation": true
},
"get": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}

0 comments on commit e23a590

Please sign in to comment.