New-AzEventHubIPRuleConfig
Konstruerar ett INwRuleSetIPRules-objekt som kan matas som indata till Set-AzEventHubNetworkRuleSet
Syntax
New-AzEventHubIPRuleConfig
-IPMask <String>
[-Action <NetworkRuleIPAction>]
[<CommonParameters>]
Description
Konstruerar ett INwRuleSetIPRules-objekt som kan matas som indata till Set-AzEventHubNetworkRuleSet
Exempel
Exempel 1: Konstruerar ett INwRuleSetIPRules-objekt
New-AzEventHubIPRuleConfig -IPMask 3.3.3.3 -Action Allow
Action IPMask
------ ------
Allow 1.1.1.1
Mer information finns i exempel för Set-AzEventHubNetworkRuleSet.
Parametrar
-Action
IP-filteråtgärden
Type: | NetworkRuleIPAction |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IPMask
IP-mask
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |