diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json index 2d82aa54b0d8..39a0332b74e8 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Operations_List.json @@ -21,4 +21,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json index db3ef52f8391..eec9026b6f70 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CheckNameAvailability.json @@ -17,4 +17,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json index ad34eb93d140..37a0a97c5d59 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_CreateOrUpdate.json @@ -18,7 +18,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } } }, "api-version": "2018-10-01", @@ -49,7 +55,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } }, "location": "eastus", "tags": { @@ -69,4 +81,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json index 225dc4f4e7cf..4134abc4a053 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Delete.json @@ -13,4 +13,4 @@ }, "204": {} } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json index 434e03dc6cbf..bc96ca6773de 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Get.json @@ -28,7 +28,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } }, "location": "eastus", "tags": { @@ -40,4 +46,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json index ccd96cc467d0..b1029852ff6e 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListByResourceGroup.json @@ -29,7 +29,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } }, "location": "eastus", "tags": { @@ -43,4 +49,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json index ff858e6204cf..e9ff632bffd5 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListBySubscription.json @@ -28,7 +28,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } }, "location": "eastus", "tags": { @@ -42,4 +48,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json index a4ed7d20e9a1..aac543c0adf8 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_ListKeys.json @@ -15,4 +15,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json index 8c454f0e9548..c3e7d2fc9f32 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_RegenerateKey.json @@ -21,4 +21,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json index 225dc4f4e7cf..4134abc4a053 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Restart.json @@ -13,4 +13,4 @@ }, "204": {} } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json index fc5f666aa6de..17b356d16d7e 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/SignalR_Update.json @@ -17,7 +17,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } } }, "api-version": "2018-10-01", @@ -48,7 +54,13 @@ "value": "Serverless", "properties": {} } - ] + ], + "cors": { + "allowedOrigins": [ + "https://foo.com", + "https://bar.com" + ] + } }, "location": "eastus", "tags": { @@ -65,4 +77,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json index 81728de0e5d5..fe01ea5d39da 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/examples/Usages_List.json @@ -33,4 +33,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json index 6404524ff2fb..7f4dc538bd2e 100644 --- a/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json +++ b/specification/signalr/resource-manager/Microsoft.SignalRService/stable/2018-10-01/signalr.json @@ -893,6 +893,10 @@ "items": { "$ref": "#/definitions/SignalRFeature" } + }, + "cors": { + "$ref": "#/definitions/SignalRCorsSettings", + "description": "Cross-Origin Resource Sharing (CORS) settings." } } }, @@ -930,6 +934,19 @@ } } }, + "SignalRCorsSettings": { + "description": "Cross-Origin Resource Sharing (CORS) settings.", + "type": "object", + "properties": { + "allowedOrigins": { + "description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "SignalRKeys": { "description": "A class represents the access keys of SignalR service.", "type": "object", @@ -1120,4 +1137,4 @@ ] } ] -} +} \ No newline at end of file