Skip to content

Commit

Permalink
Update SignalR Create command to use newer Sku and serviceMode (Azure…
Browse files Browse the repository at this point in the history
…-Samples#273)

* Update create-signalr-service-and-group.sh

* Update create-signalr-with-app-service-github-oauth.sh

* Update create-signalr-with-app-service.sh
  • Loading branch information
juniwang authored and sdwheeler committed Nov 13, 2019
1 parent 7d566be commit dbc49ef
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ az group create --name $myResourceGroupName --location eastus
az signalr create \
--name $mySignalRSvcName \
--resource-group $myResourceGroupName \
--sku Basic_DS2 \
--unit-count 1
--sku Standard_S1 \
--unit-count 1 \
--service-mode Default

# Get the SignalR primary connection string
primaryConnectionString=$(az signalr key list --name $mySignalRSvcName \
--resource-group $myResourceGroupName --query primaryConnectionString -o tsv)

echo "$primaryConnectionString"
echo "$primaryConnectionString"
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ az group create --name $myResourceGroupName --location eastus
az signalr create \
--name $mySignalRSvcName \
--resource-group $myResourceGroupName \
--sku Basic_DS2 \
--unit-count 1
--sku Standard_S1 \
--unit-count 1 \
--service-mode Default

# Create an App Service plan.
az appservice plan create --name $myAppSvcPlanName --resource-group $myResourceGroupName --sku FREE
Expand All @@ -61,4 +62,4 @@ az webapp deployment user set --user-name $deploymentUser --password $deployment

# Configure Git deployment and note the deployment URL in the output
az webapp deployment source config-local-git --name $myWebAppName --resource-group $myResourceGroupName \
--query [url] -o tsv
--query [url] -o tsv
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ az group create --name $myResourceGroupName --location eastus
az signalr create \
--name $mySignalRSvcName \
--resource-group $myResourceGroupName \
--sku Basic_DS2 \
--unit-count 1
--sku Standard_S1 \
--unit-count 1 \
--service-mode Default

# Create an App Service plan.
az appservice plan create --name $myAppSvcPlanName --resource-group $myResourceGroupName --sku FREE
Expand Down

0 comments on commit dbc49ef

Please sign in to comment.