diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogCreate.json index cc4583f8fb82..a577aa2c420c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogCreate.json @@ -11,6 +11,7 @@ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg", "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "recordTypes": "B,E", "enabled": true, "format": { "type": "JSON", @@ -37,6 +38,7 @@ "targetResourceGuid": "00000000-0000-0000-0000-000000000000", "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "recordTypes": "B,E", "enabled": true, "flowAnalyticsConfiguration": {}, "retentionPolicy": { @@ -72,6 +74,7 @@ "targetResourceGuid": "00000000-0000-0000-0000-000000000000", "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "recordTypes": "B,E", "enabled": true, "flowAnalyticsConfiguration": {}, "retentionPolicy": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogGet.json index ee418eabaf94..9174806fae3a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogGet.json @@ -18,6 +18,7 @@ "targetResourceGuid": "00000000-0000-0000-0000-000000000000", "storageId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/wzstorage002", "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "recordTypes": "B,E", "enabled": true, "flowAnalyticsConfiguration": { "networkWatcherFlowAnalyticsConfiguration": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogList.json b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogList.json index 43b00478a850..1c057a1c59f1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogList.json @@ -19,6 +19,7 @@ "targetResourceGuid": "00000000-0000-0000-0000-000000000000", "storageId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/wzstorage002", "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "recordTypes": "B,E", "enabled": true, "flowAnalyticsConfiguration": { "networkWatcherFlowAnalyticsConfiguration": { @@ -59,6 +60,7 @@ "targetResourceGuid": "00000000-0000-0000-0000-000000000000", "storageId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/iraflowlogtest2diag", "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "recordTypes": "B,E", "enabled": true, "flowAnalyticsConfiguration": {}, "retentionPolicy": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogUpdateTags.json index 7da9ad340047..11e6deaed0bd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/examples/NetworkWatcherFlowLogUpdateTags.json @@ -24,6 +24,7 @@ "targetResourceGuid": "00000000-0000-0000-0000-000000000000", "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "recordTypes": "B,E", "enabled": true, "flowAnalyticsConfiguration": {}, "retentionPolicy": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/networkWatcher.json index 7c6e717b6bb8..03b816567318 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/networkWatcher.json @@ -3068,6 +3068,10 @@ "description": "Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.", "type": "string" }, + "recordTypes": { + "description": "Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged.", + "type": "string" + }, "enabled": { "description": "Flag to enable/disable flow logging.", "type": "boolean" @@ -3106,6 +3110,10 @@ "description": "Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged.", "type": "string" }, + "recordTypes": { + "description": "Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged.", + "type": "string" + }, "enabled": { "description": "Flag to enable/disable flow logging.", "type": "boolean"