New-AzEventHubIPRuleConfig
Constructs an INwRuleSetIPRules object that can be fed as input to Set-AzEventHubNetworkRuleSet
Syntax
Default (Default)
New-AzEventHubIPRuleConfig
-IPMask <String>
[-Action <String>]
[<CommonParameters>]
Description
Constructs an INwRuleSetIPRules object that can be fed as input to Set-AzEventHubNetworkRuleSet
Examples
Example 1: Constructs an INwRuleSetIPRules object
New-AzEventHubIPRuleConfig -IPMask 3.3.3.3 -Action Allow
Action IPMask
------ ------
Allow 1.1.1.1
Please refer examples for Set-AzEventHubNetworkRuleSet to know more.
Parameters
-Action
The IP Filter Action
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-IPMask
IP Mask
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.