az webpubsub service permission

Note

This reference is part of the webpubsub extension for Azure CLI and requires version 2.22.0 or higher. The extension will automatically install the first time you run an az webpubsub service permission command. Learn more about extensions.

Commands to manage Webpubsub service permissions.

Commands

az webpubsub service permission check

Check if a connection has permission to the specified group.

az webpubsub service permission grant

Grant a group permission to the connection. Error throws if operation fails.

az webpubsub service permission revoke

Revoke a group permission from the connection. Error throws if operation fails.

az webpubsub service permission check

Check if a connection has permission to the specified group.

az webpubsub service permission check --connection-id
                                      --group-name
                                      --hub-name
                                      --name
                                      --permission {joinLeaveGroup, sendToGroup}
                                      --resource-group

Required Parameters

--connection-id

The connection id.

--group-name

The group name.

--hub-name

The hub to manage.

--name -n

Name of the Webpubsub.

--permission

The permission.

accepted values: joinLeaveGroup, sendToGroup
--resource-group -g

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

az webpubsub service permission grant

Grant a group permission to the connection. Error throws if operation fails.

az webpubsub service permission grant --connection-id
                                      --group-name
                                      --hub-name
                                      --name
                                      --permission {joinLeaveGroup, sendToGroup}
                                      --resource-group

Required Parameters

--connection-id

The connection id.

--group-name

The group name.

--hub-name

The hub to manage.

--name -n

Name of the Webpubsub.

--permission

The permission.

accepted values: joinLeaveGroup, sendToGroup
--resource-group -g

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

az webpubsub service permission revoke

Revoke a group permission from the connection. Error throws if operation fails.

az webpubsub service permission revoke --connection-id
                                       --group-name
                                       --hub-name
                                       --name
                                       --permission {joinLeaveGroup, sendToGroup}
                                       --resource-group

Required Parameters

--connection-id

The connection id.

--group-name

The group name.

--hub-name

The hub to manage.

--name -n

Name of the Webpubsub.

--permission

The permission.

accepted values: joinLeaveGroup, sendToGroup
--resource-group -g

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