Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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

-IPMask

IP Mask

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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.

Outputs

INwRuleSetIPRules


Feedback

Was this page helpful?