Partager via


ContainerAppIPSecurityRestrictionRule Constructeur

Définition

Initialise une nouvelle instance de 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)

Paramètres

name
String

Nom de la règle de restriction IP.

ipAddressRange
String

Notation CIDR pour correspondre à l’adresse IP entrante.

action
ContainerAppIPRuleAction

Autoriser ou refuser les règles à déterminer pour l’adresse IP entrante. Remarque : Les règles peuvent uniquement se composer de ALL Allow ou ALL Deny.

Exceptions

name ou ipAddressRange est null.

S’applique à