There is a command group 'az_webpubsub_network rule'. This group of commands could 'commands to manage webpubsub network rules'. The group of commands has global parameter '--debug' which means 'Increase logging verbosity to show all debug logs.'. The group of commands has global parameter '--help -h' which means 'Show this help message and exit.'. The group of commands has global parameter '--only-show-errors' which means 'Only show errors, suppressing warnings.'. The group of commands has global parameter '--output -o' which means 'Output format.'. The group of commands has global parameter '--query' which means 'JMESPath query string. See <a href="http://jmespath.org/">http://jmespath.org/</a> for more information and examples.'. The group of commands has global parameter '--subscription' which means 'Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.'. The group of commands has global parameter '--verbose' which means 'Increase logging verbosity. Use --debug for full debug logs.'. This group contains a child command 'az_webpubsub_network rule_update'.The syntax is: az webpubsub network-rule update [--allow {clientconnection, restapi, serverconnection, trace}]
                                 [--connection-name]
                                 [--deny {clientconnection, restapi, serverconnection, trace}]
                                 [--ids]
                                 [--name]
                                 [--public-network {false, true}]
                                 [--resource-group]
                                 [--subscription]. The 1th example of the child command would be to use it to 'set allowing restapi only for public network', the syntax is: az webpubsub network-rule update --public-network -n MyWebPubSub -g MyResourceGroup --allow RESTAPI. The 2th example of the child command would be to use it to 'set allowing client connection and server connection for a private endpoint connection', the syntax is: az webpubsub network-rule update --connection-name MyPrivateEndpointConnection -n MyWebPubSub -g MyResourceGroup --allow ClientConnection ServerConnection. The 3th example of the child command would be to use it to 'set denying client connection for both public network and private endpoint connections', the syntax is: az webpubsub network-rule update --public-network --connection-name MyPrivateEndpointConnection1 MyPrivateEndpointConnection2 -n MyWebPubSub -g MyResourceGroup --deny ClientConnection. The parameter '--allow' is optional. the allowed virtual network rule. space-separeted list of scope to assign.. The parameter '--connection-name' is optional. space-separeted list of private endpoint connection name.. The parameter '--deny' is optional. the denied virtual network rule. space-separeted list of scope to assign.. The parameter '--ids' is optional. 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.. The parameter '--name -n' is optional. name of the webpubsub.. The parameter '--public-network' is optional. set rules for public network.. The parameter '--resource-group -g' is optional. name of resource group. you can configure the default group using `az configure --defaults group=<name>`.. The parameter '--subscription' is optional. name or id of subscription. you can configure the default subscription using `az account set -s name_or_id`.. 