SignalR

Overview

The SignalR builder creates SignalR services.

  • SignalR Service (Microsoft.SignalRService/signalR)

Builder Keywords

KeywordPurpose
nameSets the name of the SignalR service.
skuSets the sku of the SignalR service.
capacitySets the capacity of the SignalR service. (optional)
allowed_originsSets the allowed origins of the SignalR service. (optional)

Configuration Members

MemberPurpose
KeyReturns an ARM expression to retrieve the primary connection string of the service. Useful for e.g. supplying the connection string to another resource e.g. KeyVault or an app setting in the App Service.

Example

open Farmer
open Farmer.Builders

let mySignalR = signalR {
    name "mysignalr"
    sku SignalR.Standard
    capacity 10
    allowed_origins [ "https://github.com" ]
}