Skip to content

Commit bd0bbbf

Browse files
Ajit Navasaregargankit-microsoft
authored andcommitted
[Relay] Adding missing success response code to PUT calls on Private Endpoints (#19156)
1 parent 5ae7b93 commit bd0bbbf

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/Namespaces.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,12 @@
462462
"$ref": "#/definitions/PrivateEndpointConnection"
463463
}
464464
},
465+
"202": {
466+
"description": "Request to update Status of PrivateEndPoint Connection accepted.",
467+
"schema": {
468+
"$ref": "#/definitions/PrivateEndpointConnection"
469+
}
470+
},
465471
"default": {
466472
"description": "Relay error response describing why the operation failed.",
467473
"schema": {

specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateEndpointConnectionsCreate.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,23 @@
5353
}
5454
}
5555
}
56+
},
57+
"202": {
58+
"body": {
59+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/alitest/providers/Microsoft.Relay/namespaces/relay-private-endpoint-test/privateEndpointConnections/{privateEndpointConnection name}",
60+
"name": "{privateEndpointConnection name}",
61+
"type": "Microsoft.Relay/Namespaces/PrivateEndpointConnections",
62+
"properties": {
63+
"provisioningState": "Succeeded",
64+
"privateEndpoint": {
65+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Network/privateEndpoints/ali-relay-pve-1"
66+
},
67+
"privateLinkServiceConnectionState": {
68+
"status": "Approved",
69+
"description": "Auto-Approved"
70+
}
71+
}
72+
}
5673
}
5774
}
5875
}

0 commit comments

Comments
 (0)