az signalr

Manage Azure SignalR Service.

Commands

az signalr create Creates a SignalR Service.
az signalr delete Deletes a SignalR Service.
az signalr key Manage keys for Azure SignalR Service.
az signalr key list List the access keys for a SignalR Service.
az signalr key renew Regenerate the access key for a SignalR Service.
az signalr list Lists all the SignalR Service under the current subscription.
az signalr show Get the details of a SignalR Service.

az signalr create

Creates a SignalR Service.

az signalr create --name
--resource-group
--sku
[--location]
[--subscription]
[--tags]
[--unit-count]

Examples

Create a SignalR Service with the Basic SKU.

az signalr create -n MySignalR -g MyResourceGroup --sku Standard_S1 --unit-count 1

Required Parameters

--name -n

Name of signalr service.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--sku

The sku name of the signalr service. E.g. Standard_S1.

Optional Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--tags

Space-separated tags in 'key[=value]' format. Use "" to clear existing tags.

--unit-count

The number of signalr service unit count.

default value: 1

az signalr delete

Deletes a SignalR Service.

az signalr delete --name
--resource-group
[--subscription]

Examples

Delete a SignalR Service.

az signalr delete -n MySignalR -g MyResourceGroup

Required Parameters

--name -n

Name of signalr service.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az signalr list

Lists all the SignalR Service under the current subscription.

az signalr list [--resource-group]
[--subscription]

Examples

List SignalR Service and show the results in a table.

az signalr list -o table

List SignalR Service in a resource group and show the results in a table.

az signalr list -g MySignalR -o table

Optional Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az signalr show

Get the details of a SignalR Service.

az signalr show --name
--resource-group
[--subscription]

Examples

Get the sku for a SignalR Service.

az signalr show -n MySignalR -g MyResourceGroup --query sku

Required Parameters

--name -n

Name of signalr service.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.