Skip to content

Commit 0a68675

Browse files
juniwangsergey-shandar
authored andcommitted
update CheckNameAvailability resource extra location in its route (#3004)
1 parent cc7cbd6 commit 0a68675

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

specification/signalr/resource-manager/Microsoft.SignalRService/preview/2018-03-01-preview/examples/CheckNameAvailability.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"parameters": {
3+
"location": "eastus",
34
"parameters": {
45
"type": "Microsoft.SignalRService/SignalR",
56
"name": "my-signalr-service"

specification/signalr/resource-manager/Microsoft.SignalRService/preview/2018-03-01-preview/signalr.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,21 @@
4646
}
4747
}
4848
},
49-
"/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/checkNameAvailability": {
49+
"/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability": {
5050
"post": {
5151
"tags": [
5252
"SignalR"
5353
],
5454
"description": "Checks that the SignalR name is valid and is not already in use.",
5555
"operationId": "SignalR_CheckNameAvailability",
5656
"parameters": [
57+
{
58+
"name": "location",
59+
"in": "path",
60+
"description": "the region",
61+
"required": true,
62+
"type": "string"
63+
},
5764
{
5865
"name": "parameters",
5966
"in": "body",
@@ -844,7 +851,10 @@
844851
"in": "query",
845852
"description": "Client Api Version.",
846853
"required": true,
847-
"type": "string"
854+
"type": "string",
855+
"enum": [
856+
"2018-03-01-preview"
857+
]
848858
},
849859
"SubscriptionIdParameter": {
850860
"name": "subscriptionId",

0 commit comments

Comments
 (0)