File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
articles/azure-web-pubsub Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,20 @@ Find your Azure Web PubSub service from **Azure Portal**. Navigate to **Settings
48
48
49
49
### Configure through Azure CLI
50
50
51
- Use the Azure CLI [ ** az webpubsub hub** ] ( /cli/azure/webpubsub ) command to configure the event handler settings.
51
+ Use the Azure CLI [ ** az webpubsub hub** ] ( /cli/azure/webpubsub ) group commands to configure the event handler settings.
52
52
53
- Below is an example of setting 2 webhook URLs for hub ` MyHub ` of ` MyWebPubSub ` resource.
53
+ Commands | Description
54
+ --|--
55
+ create | Create hub settings for WebPubSub Service.
56
+ delete | Delete hub settings for WebPubSub Service.
57
+ list | List all hub settings for WebPubSub Service.
58
+ show | Show hub settings for WebPubSub Service.
59
+ update | Update hub settings for WebPubSub Service.
60
+
61
+ Below is an example of creating 2 webhook URLs for hub ` MyHub ` of ` MyWebPubSub ` resource.
54
62
55
63
``` azurecli-interactive
56
- az webpubsub hub update -n MyWebPubSub -g MyResourceGroup --hub-name MyHub --event-handler url-template="http://host.com" user-event-pattern="*" --event-handler url-template="http://host2.com" system-event="connected" system-event="disconnected" auth-type="ManagedIdentity" auth-resource="uri://myUri"
64
+ az webpubsub hub create -n MyWebPubSub -g MyResourceGroup --hub-name MyHub --event-handler url-template="http://host.com" user-event-pattern="*" --event-handler url-template="http://host2.com" system-event="connected" system-event="disconnected" auth-type="ManagedIdentity" auth-resource="uri://myUri"
57
65
```
58
66
59
67
## Next steps
You can’t perform that action at this time.
0 commit comments