Skip to content

Commit 5db6cf9

Browse files
Update src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/watcher/flow_log/_update.py
Co-authored-by: Copilot <[email protected]>
1 parent f4b928b commit 5db6cf9

File tree

1 file changed

+1
-1
lines changed
  • src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/watcher/flow_log

1 file changed

+1
-1
lines changed

src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/watcher/flow_log/_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Update(AAZCommand):
3939
az network watcher flow-log update --location westus --resource-group MyAnotherResourceGroup --name MyFlowLog --workspace MyAnotherLogAnalyticWorkspace
4040
4141
:example: Update flowlog with recordtypes filtering
42-
az network watcher flow-log update --resource-group rg1 --network-watcher-name nw1 --name fl --location centraluseuap --target-resource-id /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg --storage-account /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe --filtering-criteria srcIP=158.255.7.8 || dstPort=56891 --record-types B,E --enabled True --format JSON --log-version 1 --identity "{type:UserAssigned,user-assigned-identities:{/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1:{}}}"
42+
az network watcher flow-log update --location westus --resource-group MyResourceGroup --name MyFlowLog --record-types B,C
4343
"""
4444

4545
_aaz_info = {

0 commit comments

Comments
 (0)