Skip to content

Commit

Permalink
Add 202 response scheme and LRO for job definition and SQL script (Az…
Browse files Browse the repository at this point in the history
…ure#12518)

Co-authored-by: Dongwei Wang <dongwwa@microsoft.com>
  • Loading branch information
2 people authored and mkarmark committed Jul 20, 2021
1 parent c40d200 commit bbaf8d2
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,7 @@
}
},
"description": "Creates or updates a Sql Script.",
"x-ms-long-running-operation": true,
"parameters": [
{
"$ref": "#/parameters/sqlScriptName"
Expand Down Expand Up @@ -1928,6 +1929,9 @@
"$ref": "#/definitions/SqlScriptResource"
}
},
"202": {
"description": "Accepted."
},
"default": {
"description": "An error response received from the Azure Synapse service.",
"schema": {
Expand Down Expand Up @@ -1991,6 +1995,7 @@
}
},
"description": "Deletes a Sql Script.",
"x-ms-long-running-operation": true,
"parameters": [
{
"$ref": "#/parameters/sqlScriptName"
Expand All @@ -2003,6 +2008,9 @@
"200": {
"description": "OK."
},
"202": {
"description": "Accepted."
},
"204": {
"description": "No Content."
},
Expand Down Expand Up @@ -2112,6 +2120,7 @@
}
},
"description": "Creates or updates a Spark Job Definition.",
"x-ms-long-running-operation": true,
"parameters": [
{
"$ref": "#/parameters/sparkJobDefinitionName"
Expand Down Expand Up @@ -2143,6 +2152,9 @@
"$ref": "#/definitions/SparkJobDefinitionResource"
}
},
"202": {
"description": "Accepted."
},
"default": {
"description": "An error response received from the Azure Synapse service.",
"schema": {
Expand Down Expand Up @@ -2206,6 +2218,7 @@
}
},
"description": "Deletes a Spark Job Definition.",
"x-ms-long-running-operation": true,
"parameters": [
{
"$ref": "#/parameters/sparkJobDefinitionName"
Expand All @@ -2218,6 +2231,9 @@
"200": {
"description": "OK."
},
"202": {
"description": "Accepted."
},
"204": {
"description": "No Content."
},
Expand Down

0 comments on commit bbaf8d2

Please sign in to comment.