Skip to content

Commit

Permalink
updating tree.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jmegha123 committed Sep 9, 2024
1 parent b07d8da commit 0bba1e1
Showing 1 changed file with 156 additions and 0 deletions.
156 changes: 156 additions & 0 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -130690,6 +130690,66 @@
"version": "2022-01-01"
}
]
},
{
"examples": [
{
"commands": [
"network watcher flow-log create --location westus --resource-group MyResourceGroup --name MyFlowLog --nsg MyNetworkSecurityGroupName --storage-account account"
],
"name": "Create a flow log with Network Security Group name"
},
{
"commands": [
"network watcher flow-log create --location westus --resource-group MyResourceGroup --name MyFlowLog --vnet MyVNetName --storage-account account"
],
"name": "Create a flow log with VNet name"
},
{
"commands": [
"network watcher flow-log create --location westus --resource-group MyResourceGroup --name MyFlowLog --vnet MyVNetName --subnet MySubnetName --storage-account account"
],
"name": "Create a flow log with Subnet name"
},
{
"commands": [
"network watcher flow-log create --location westus --resource-group MyResourceGroup --name MyFlowLog --nic MyNICName --storage-account account"
],
"name": "Create a flow log with NIC name"
},
{
"commands": [
"network watcher flow-log create --location westus --name MyFlowLog --nsg MyNetworkSecurityGroupID --storage-account account"
],
"name": "Create a flow log with Network Security Group ID (could be in other resource group)"
},
{
"commands": [
"network watcher flow-log create --location westus --name MyFlowLog --vnet MyVNetID --storage-account account"
],
"name": "Create a flow log with Virtual Network ID (could be in other resource group)"
},
{
"commands": [
"network watcher flow-log create --location westus --name MyFlowLog --subnet SubnetID --storage-account account"
],
"name": "Create a flow log with Subnet ID (could be in other resource group)"
},
{
"commands": [
"network watcher flow-log create --location westus --name MyFlowLog --nic MyNetworkInterfaceID --storage-account account"
],
"name": "Create a flow log with Network Interface ID (could be in other resource group)"
}
],
"name": "2023-11-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/flowlogs/{}",
"plane": "mgmt-plane",
"version": "2023-11-01"
}
]
}
]
},
Expand Down Expand Up @@ -130721,6 +130781,24 @@
"version": "2022-01-01"
}
]
},
{
"examples": [
{
"commands": [
"network watcher flow-log delete --location westus2 --name MyFlowLogger"
],
"name": "Delete the specified flow log resource."
}
],
"name": "2023-11-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/flowlogs/{}",
"plane": "mgmt-plane",
"version": "2023-11-01"
}
]
}
]
},
Expand Down Expand Up @@ -130789,6 +130867,30 @@
"version": "2022-01-01"
}
]
},
{
"examples": [
{
"commands": [
"network watcher flow-log show -g MyResourceGroup --nsg MyNsg"
],
"name": "Show NSG flow logs."
},
{
"commands": [
"network watcher flow-log show --location MyNetworkWatcher --name MyFlowLog"
],
"name": "Show NSG flow logs with Azure Resource Management formatted."
}
],
"name": "2023-11-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/flowlogs/{}",
"plane": "mgmt-plane",
"version": "2023-11-01"
}
]
}
]
},
Expand Down Expand Up @@ -130856,6 +130958,60 @@
"version": "2022-01-01"
}
]
},
{
"examples": [
{
"commands": [
"network watcher flow-log update --location westus --resource-group MyResourceGroup --name MyFlowLog --storage-account accountname"
],
"name": "Update storage account with name to let resource group identify the storage account and network watcher"
},
{
"commands": [
"network watcher flow-log update --location westus --resource-group MyResourceGroup --name MyFlowLog --storage-account accountid"
],
"name": "Update storage account with ID to let location identify the network watcher"
},
{
"commands": [
"network watcher flow-log update --location westus --resource-group MyAnotherResourceGroup --name MyFlowLog --nsg MyNSG"
],
"name": "Update Network Security Group on another resource group"
},
{
"commands": [
"network watcher flow-log update --location westus --resource-group MyAnotherResourceGroup --name MyFlowLog --vnet MyVNet"
],
"name": "Update Virtual Network on another resource group"
},
{
"commands": [
"network watcher flow-log update --location westus --resource-group MyAnotherResourceGroup --name MyFlowLog --vnet MyVNet --subnet MySubnet"
],
"name": "Update Subnet on another resource group"
},
{
"commands": [
"network watcher flow-log update --location westus --resource-group MyAnotherResourceGroup --name MyFlowLog --nic MyNIC"
],
"name": "Update Network Interface on another resource group"
},
{
"commands": [
"network watcher flow-log update --location westus --resource-group MyAnotherResourceGroup --name MyFlowLog --workspace MyAnotherLogAnalyticWorkspace"
],
"name": "Update Workspace on another resource group"
}
],
"name": "2023-11-01",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networkwatchers/{}/flowlogs/{}",
"plane": "mgmt-plane",
"version": "2023-11-01"
}
]
}
]
}
Expand Down

0 comments on commit 0bba1e1

Please sign in to comment.