Add 202 status code for PrivateEndpointConnections_Delete (#23404)

Co-authored-by: Priyankar Gupta <priyagupta@microsoft.com>
This commit is contained in:
priyankarking 2023-04-11 07:25:18 +05:30 коммит произвёл GitHub
Родитель 33f06ff82a
Коммит 1198b4b73b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 23 добавлений и 0 удалений

Просмотреть файл

@ -8,6 +8,12 @@
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus...",
"Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..."
}
},
"204": {}
}
}

Просмотреть файл

@ -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"
@ -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."
},