Skip to content

Commit

Permalink
[EventHub]: Adding status code 202 to Private endpoints PUT (#19118)
Browse files Browse the repository at this point in the history
* adding status code 202 to Private endpoints PUT

* Adding example
  • Loading branch information
damodaravadhani authored May 19, 2022
1 parent 08a7406 commit 2f87cc0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,23 @@
}
}
}
},
"202": {
"body": {
"id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-EventHub-4794/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5828/privateEndpointConnections/928c44d5-b7c6-423b-b6fa-811e0c27b3e0",
"name": "928c44d5-b7c6-423b-b6fa-811e0c27b3e0",
"type": "Microsoft.EventHub/Namespaces/PrivateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-EventHub-4794/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-5828"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-Approved"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,12 @@
"$ref": "#/definitions/PrivateEndpointConnection"
}
},
"202": {
"description": "Request to update Status of PrivateEndPoint Connection accepted.",
"schema": {
"$ref": "#/definitions/PrivateEndpointConnection"
}
},
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
Expand Down

0 comments on commit 2f87cc0

Please sign in to comment.