Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
- Latest
- 2025-01-01-preview
- 2024-10-01-preview
- 2024-08-01-preview
- 2024-04-01-preview
- 2024-03-01
- 2024-01-01-preview
- 2023-08-01-preview
- 2023-06-01-preview
- 2023-03-01-preview
- 2023-02-01
- 2022-08-01-preview
- 2022-02-01
- 2021-10-01
- 2021-09-01-preview
- 2021-06-01-preview
- 2021-04-01-preview
- 2020-07-01-preview
- 2020-05-01
- 2018-10-01
- 2018-03-01-preview
Bicep resource definition
The SignalR resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.SignalRService/SignalR resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.SignalRService/SignalR@2018-03-01-preview' = {
scope: resourceSymbolicName or scope
location: 'string'
name: 'string'
properties: {
hostNamePrefix: 'string'
}
sku: {
capacity: int
family: 'string'
name: 'string'
size: 'string'
tier: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.SignalRService/SignalR
| Name | Description | Value |
|---|---|---|
| location | Azure GEO region: e.g. West US | East US | North Central US | South Central US | West Europe | North Europe | East Asia | Southeast Asia | etc. The geo region of a resource never changes after it is created. |
string (required) |
| name | The resource name | string (required) |
| properties | Settings used to provision or configure the resource | SignalRCreateOrUpdatePropertiesOrSignalRProperties |
| scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
| sku | The billing information of the resource.(e.g. basic vs. standard) | ResourceSku |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ResourceSku
| Name | Description | Value |
|---|---|---|
| capacity | Optional, integer. If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. |
int |
| family | Optional, string. If the service has different generations of hardware, for the same SKU, then that can be captured here. | string |
| name | The name of the SKU. This is typically a letter + number code, such as A0 or P3. Required (if sku is specified) | string (required) |
| size | Optional, string. When the name field is the combination of tier and some other value, this would be the standalone code. | string |
| tier | Optional tier of this particular SKU. Basic is deprecated, use Standard instead for Basic tier |
'Basic' 'Free' 'Premium' 'Standard' |
SignalRCreateOrUpdatePropertiesOrSignalRProperties
| Name | Description | Value |
|---|---|---|
| hostNamePrefix | Prefix for the hostName of the SignalR service. Retained for future use. The hostname will be of format: <hostNamePrefix>.service.signalr.net. |
string |
SignalRUpdateParametersTags
| Name | Description | Value |
|---|
Usage Examples
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.
| Module | Description |
|---|---|
| SignalR Service SignalR | AVM Resource Module for SignalR Service SignalR |
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
| Bicep File | Description |
|---|---|
| Deploy an Azure SignalR service | This template creates an Azure SignalR Service using a template. |
ARM template resource definition
The SignalR resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.SignalRService/SignalR resource, add the following JSON to your template.
{
"type": "Microsoft.SignalRService/SignalR",
"apiVersion": "2018-03-01-preview",
"name": "string",
"location": "string",
"properties": {
"hostNamePrefix": "string"
},
"sku": {
"capacity": "int",
"family": "string",
"name": "string",
"size": "string",
"tier": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.SignalRService/SignalR
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2018-03-01-preview' |
| location | Azure GEO region: e.g. West US | East US | North Central US | South Central US | West Europe | North Europe | East Asia | Southeast Asia | etc. The geo region of a resource never changes after it is created. |
string (required) |
| name | The resource name | string (required) |
| properties | Settings used to provision or configure the resource | SignalRCreateOrUpdatePropertiesOrSignalRProperties |
| sku | The billing information of the resource.(e.g. basic vs. standard) | ResourceSku |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.SignalRService/SignalR' |
ResourceSku
| Name | Description | Value |
|---|---|---|
| capacity | Optional, integer. If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. |
int |
| family | Optional, string. If the service has different generations of hardware, for the same SKU, then that can be captured here. | string |
| name | The name of the SKU. This is typically a letter + number code, such as A0 or P3. Required (if sku is specified) | string (required) |
| size | Optional, string. When the name field is the combination of tier and some other value, this would be the standalone code. | string |
| tier | Optional tier of this particular SKU. Basic is deprecated, use Standard instead for Basic tier |
'Basic' 'Free' 'Premium' 'Standard' |
SignalRCreateOrUpdatePropertiesOrSignalRProperties
| Name | Description | Value |
|---|---|---|
| hostNamePrefix | Prefix for the hostName of the SignalR service. Retained for future use. The hostname will be of format: <hostNamePrefix>.service.signalr.net. |
string |
SignalRUpdateParametersTags
| Name | Description | Value |
|---|
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
| Template | Description |
|---|---|
| Deploy an Azure SignalR service |
This template creates an Azure SignalR Service using a template. |
Terraform (AzAPI provider) resource definition
The SignalR resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.SignalRService/SignalR resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.SignalRService/SignalR@2018-03-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
hostNamePrefix = "string"
}
sku = {
capacity = int
family = "string"
name = "string"
size = "string"
tier = "string"
}
}
}
Property Values
Microsoft.SignalRService/SignalR
| Name | Description | Value |
|---|---|---|
| location | Azure GEO region: e.g. West US | East US | North Central US | South Central US | West Europe | North Europe | East Asia | Southeast Asia | etc. The geo region of a resource never changes after it is created. |
string (required) |
| name | The resource name | string (required) |
| parent_id | The ID of the resource to apply this extension resource to. | string (required) |
| properties | Settings used to provision or configure the resource | SignalRCreateOrUpdatePropertiesOrSignalRProperties |
| sku | The billing information of the resource.(e.g. basic vs. standard) | ResourceSku |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.SignalRService/SignalR@2018-03-01-preview" |
ResourceSku
| Name | Description | Value |
|---|---|---|
| capacity | Optional, integer. If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. |
int |
| family | Optional, string. If the service has different generations of hardware, for the same SKU, then that can be captured here. | string |
| name | The name of the SKU. This is typically a letter + number code, such as A0 or P3. Required (if sku is specified) | string (required) |
| size | Optional, string. When the name field is the combination of tier and some other value, this would be the standalone code. | string |
| tier | Optional tier of this particular SKU. Basic is deprecated, use Standard instead for Basic tier |
'Basic' 'Free' 'Premium' 'Standard' |
SignalRCreateOrUpdatePropertiesOrSignalRProperties
| Name | Description | Value |
|---|---|---|
| hostNamePrefix | Prefix for the hostName of the SignalR service. Retained for future use. The hostname will be of format: <hostNamePrefix>.service.signalr.net. |
string |
SignalRUpdateParametersTags
| Name | Description | Value |
|---|
Usage Examples
Terraform Samples
A basic example of deploying Azure SignalR service.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "signalR" {
type = "Microsoft.SignalRService/signalR@2023-02-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
cors = {
}
disableAadAuth = false
disableLocalAuth = false
features = [
{
flag = "ServiceMode"
value = "Default"
},
{
flag = "EnableConnectivityLogs"
value = "False"
},
{
flag = "EnableMessagingLogs"
value = "False"
},
{
flag = "EnableLiveTrace"
value = "False"
},
]
publicNetworkAccess = "Enabled"
resourceLogConfiguration = {
categories = [
{
enabled = "false"
name = "MessagingLogs"
},
{
enabled = "false"
name = "ConnectivityLogs"
},
{
enabled = "false"
name = "HttpRequestLogs"
},
]
}
serverless = {
connectionTimeoutInSeconds = 30
}
tls = {
clientCertEnabled = false
}
upstream = {
templates = [
]
}
}
sku = {
capacity = 1
name = "Standard_S1"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}