Skip to content

Commit 920bb44

Browse files
authored
Update virtual-networks-faq.md
Added bullet to provide solution to enable FlowTimeoutInMinutes per subscription. Requested by Wal-Mart
1 parent 4ae78dc commit 920bb44

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

articles/virtual-network/virtual-networks-faq.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,18 @@ Yes. For details, see [Azure Network Security Overview](../security/fundamentals
226226
### Do Virtual Networks store customer data?
227227
No. Virtual Networks doesn't store any customer data.
228228

229+
### Can I set [FlowTimeoutInMinutes](/powershell/module/az.network/set-azvirtualnetwork?view=azps-6.5.0) property for an entire subscription?
230+
No. This must be set at the virtual network. The following can assist automate setting this property for larger subscriptions:
231+
```Powershell
232+
$Allvnet = Get-AzVirtualNetwork
233+
$time = 4 #The value should be between 4 and 30 minutes (inclusive) to enable tracking, or null to disable tracking. $null to disable.
234+
ForEach ($vnet in $Allvnet)
235+
{
236+
$vnet.FlowTimeoutInMinutes = $time
237+
$vnet | Set-AzVirtualNetwork
238+
}
239+
```
240+
229241
## APIs, schemas, and tools
230242

231243
### Can I manage VNets from code?
@@ -421,4 +433,4 @@ There is no limit on the total number of VNet service endpoints in a virtual net
421433
|Azure Data Lake Store V1| 100|
422434

423435
>[!NOTE]
424-
> The limits are subjected to changes at the discretion of the Azure service. Refer to the respective service documentation for services details.
436+
> The limits are subjected to changes at the discretion of the Azure service. Refer to the respective service documentation for services details.

0 commit comments

Comments
 (0)