次の方法で共有


ContainerAppIPSecurityRestrictionRule コンストラクター

定義

ContainerAppIPSecurityRestrictionRule の新しいインスタンスを初期化します。

public ContainerAppIPSecurityRestrictionRule (string name, string ipAddressRange, Azure.ResourceManager.AppContainers.Models.ContainerAppIPRuleAction action);
new Azure.ResourceManager.AppContainers.Models.ContainerAppIPSecurityRestrictionRule : string * string * Azure.ResourceManager.AppContainers.Models.ContainerAppIPRuleAction -> Azure.ResourceManager.AppContainers.Models.ContainerAppIPSecurityRestrictionRule
Public Sub New (name As String, ipAddressRange As String, action As ContainerAppIPRuleAction)

パラメーター

name
String

IP 制限規則の名前。

ipAddressRange
String

受信 IP アドレスと一致する CIDR 表記。

action
ContainerAppIPRuleAction

受信 IP を決定するための規則を許可または拒否します。 注: ルールは、ALL Allow または ALL Deny でのみ構成できます。

例外

name または ipAddressRange が null です。

適用対象