<commit_before>---
external help file: Microsoft.Azure.Commands.Network.dll-Help.xml
Module Name: AzureRM.Network
online version:
schema: 2.0.0
---

# New-AzureRmNetworkWatcherProtocolConfiguration

## SYNOPSIS
Creates a new protocol configuration object.

## SYNTAX

```
New-AzureRmNetworkWatcherProtocolConfiguration [-Protocol <String>] [-Method <String>] [-Header <IDictionary>]
 [-ValidStatusCode <Int32[]>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
```

## DESCRIPTION
The New-AzureRmNetworkWatcherProtocolConfiguration cmdlet creates a new protocol configuration object. 
This object is used to restrict the protocol confiuration during a connecitivity check session using the specified criteria. <commit_msg>link website for New-AzureRmNetworkWatcherProtocolConfiguration.md<commit_after>---
external help file: Microsoft.Azure.Commands.Network.dll-Help.xml
Module Name: AzureRM.Network
online version: https://docs.microsoft.com/en-us/powershell/module/azurerm.network/new-azurermnetworkwatcherprotocolconfiguration
schema: 2.0.0
---

# New-AzureRmNetworkWatcherProtocolConfiguration

## SYNOPSIS
Creates a new protocol configuration object.

## SYNTAX

```
New-AzureRmNetworkWatcherProtocolConfiguration [-Protocol <String>] [-Method <String>] [-Header <IDictionary>]
 [-ValidStatusCode <Int32[]>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
```

## DESCRIPTION
The New-AzureRmNetworkWatcherProtocolConfiguration cmdlet creates a new protocol configuration object. 
This object is used to restrict the protocol confiuration during a connecitivity check session using the specified criteria. 
{'fraction_non_alphanumeric': 0.0967741935483871, 'fraction_numerical': 0.006086427267194157, 'mean_word_length': 6.4389140271493215, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '264934', 'n_tokens_mistral': 461, 'n_tokens_neox': 430, 'n_words': 126}