次の方法で共有


New-AzEventGridInboundIPRuleObject

Create an in-memory object for InboundIPRule.

構文

Default (既定)

New-AzEventGridInboundIPRuleObject
    [-Action <String>]
    [-IPMask <String>]
    [<CommonParameters>]

説明

Create an in-memory object for InboundIPRule.

Example 1: Create an in-memory object for InboundIPRule.

New-AzEventGridInboundIPRuleObject -Action Allow -IPMask "12.18.176.1"
Action IPMask
------ ------
Allow  12.18.176.1

Create an in-memory object for InboundIPRule.

パラメーター

-Action

Action to perform based on the match or no match of the IpMask.

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-IPMask

IP Address in CIDR notation e.g., 10.0.0.0/8.

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値: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.

出力

InboundIPRule