diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/preview/2018-03-01-preview/examples/CheckNameAvailability.json b/specification/signalr/resource-manager/Microsoft.SignalRService/preview/2018-03-01-preview/examples/CheckNameAvailability.json index 4ed88178968c..8dca2c87bb84 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/preview/2018-03-01-preview/examples/CheckNameAvailability.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/preview/2018-03-01-preview/examples/CheckNameAvailability.json @@ -1,5 +1,6 @@ { "parameters": { + "location": "eastus", "parameters": { "type": "Microsoft.SignalRService/SignalR", "name": "my-signalr-service" diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/preview/2018-03-01-preview/signalr.json b/specification/signalr/resource-manager/Microsoft.SignalRService/preview/2018-03-01-preview/signalr.json index 78b6070fdf6e..b79b66da09b4 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/preview/2018-03-01-preview/signalr.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/preview/2018-03-01-preview/signalr.json @@ -46,7 +46,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/checkNameAvailability": { + "/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability": { "post": { "tags": [ "SignalR" @@ -54,6 +54,13 @@ "description": "Checks that the SignalR name is valid and is not already in use.", "operationId": "SignalR_CheckNameAvailability", "parameters": [ + { + "name": "location", + "in": "path", + "description": "the region", + "required": true, + "type": "string" + }, { "name": "parameters", "in": "body", @@ -844,7 +851,10 @@ "in": "query", "description": "Client Api Version.", "required": true, - "type": "string" + "type": "string", + "enum": [ + "2018-03-01-preview" + ] }, "SubscriptionIdParameter": { "name": "subscriptionId",