Share via


az signalr replica

Manage replica settings.

Commands

Name Description Type Status
az signalr replica create

Create a replica of SignalR Service.

Core GA
az signalr replica delete

Delete a replica of SignalR Service.

Core GA
az signalr replica list

List replicas of SignalR Service.

Core GA
az signalr replica show

Show the details of a replica.

Core GA

az signalr replica create

Create a replica of SignalR Service.

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

Examples

Get the detail of a replica

az signalr replica create --sku Premium_P1 -l eastus --replica-name MyReplica --signalr-name MySignalR -g MyResourceGroup

Required Parameters

--replica-name

Name of the replica.

--resource-group -g

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

--signalr-name

Name of the SignalR.

--sku

The sku name of the replica. Currently allowed values: Premium_P1.

Optional Parameters

--location -l

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

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

--unit-count

The number of signalr service unit count.

Default value: 1
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az signalr replica delete

Delete a replica of SignalR Service.

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

Examples

Delete a replica

az signalr replica delete --replica-name MyReplica --signalr-name MySignalR -g MyResourceGroup

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--replica-name

Name of the replica.

--resource-group -g

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

--signalr-name

Name of the SignalR.

--subscription

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az signalr replica list

List replicas of SignalR Service.

az signalr replica list --resource-group
                        --signalr-name

Examples

Get the detail of a replica

az signalr replica list --signalr-name MySignalR -g MyResourceGroup -o table

Required Parameters

--resource-group -g

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

--signalr-name

Name of the SignalR.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az signalr replica show

Show the details of a replica.

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

Examples

Get the detail of a replica

az signalr replica show --replica-name MyReplica --signalr-name MySignalR -g MyResourceGroup

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--replica-name

Name of the replica.

--resource-group -g

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

--signalr-name

Name of the SignalR.

--subscription

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.