Skip to content

Commit 2d6cb29

Browse files
author
Ajit Navasare
authored
2021-11-01 - Adding status code 202 to Private endpoints PUT (#19155)
1 parent 8f573a1 commit 2d6cb29

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/examples/NameSpaces/PrivateEndPointConnectionCreate.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,23 @@
5252
}
5353
}
5454
}
55+
},
56+
"202": {
57+
"body": {
58+
"id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-ServiceBus-4794/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5828/privateEndpointConnections/928c44d5-b7c6-423b-b6fa-811e0c27b3e0",
59+
"name": "928c44d5-b7c6-423b-b6fa-811e0c27b3e0",
60+
"type": "Microsoft.ServiceBus/Namespaces/PrivateEndpointConnections",
61+
"properties": {
62+
"provisioningState": "Succeeded",
63+
"privateEndpoint": {
64+
"id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/SDK-ServiceBus-4794/providers/Microsoft.Network/privateEndpoints/sdk-Namespace-5828"
65+
},
66+
"privateLinkServiceConnectionState": {
67+
"status": "Approved",
68+
"description": "Auto-Approved"
69+
}
70+
}
71+
}
5572
}
5673
}
5774
}

specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2021-11-01/namespace-preview.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,12 @@
439439
"$ref": "#/definitions/PrivateEndpointConnection"
440440
}
441441
},
442+
"202": {
443+
"description": "Request to update Status of PrivateEndPoint Connection accepted.",
444+
"schema": {
445+
"$ref": "#/definitions/PrivateEndpointConnection"
446+
}
447+
},
442448
"default": {
443449
"description": "ServiceBus error response describing why the operation failed.",
444450
"schema": {

0 commit comments

Comments
 (0)