Skip to content

Commit

Permalink
Add for 202 status code for PrivateEndpointConnections_Delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyankar Gupta committed Apr 3, 2023
1 parent 06042d4 commit 7cf8ac8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus..."
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,10 @@
"$ref": "./examples/RedisEnterpriseDeletePrivateEndpointConnection.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
Expand All @@ -1066,6 +1070,19 @@
"200": {
"description": "OK -- Delete the private endpoint connection successfully."
},
"202": {
"description": "Deletion of specified private endpoint connection was started. GET the URL in the Azure-AsyncOperation or Location headers to retrieve updated status.",
"headers": {
"Location": {
"description": "Location URI to poll for result",
"type": "string"
},
"Azure-AsyncOperation": {
"description": "URI to poll for the operation status",
"type": "string"
}
}
},
"204": {
"description": "No Content -- The private endpoint connection does not exist."
},
Expand Down

0 comments on commit 7cf8ac8

Please sign in to comment.