ArmAppContainersModelFactory.ContainerAppIPSecurityRestrictionRule Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Rule to restrict incoming IP address.
public static Azure.ResourceManager.AppContainers.Models.ContainerAppIPSecurityRestrictionRule ContainerAppIPSecurityRestrictionRule(string name = default, string description = default, string ipAddressRange = default, Azure.ResourceManager.AppContainers.Models.ContainerAppIPRuleAction action = default);
static member ContainerAppIPSecurityRestrictionRule : string * string * string * Azure.ResourceManager.AppContainers.Models.ContainerAppIPRuleAction -> Azure.ResourceManager.AppContainers.Models.ContainerAppIPSecurityRestrictionRule
Public Shared Function ContainerAppIPSecurityRestrictionRule (Optional name As String = Nothing, Optional description As String = Nothing, Optional ipAddressRange As String = Nothing, Optional action As ContainerAppIPRuleAction = Nothing) As ContainerAppIPSecurityRestrictionRule
Parameters
- name
- String
Name for the IP restriction rule.
- description
- String
Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
- ipAddressRange
- String
CIDR notation to match incoming IP address.
- action
- ContainerAppIPRuleAction
Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny.
Returns
A new ContainerAppIPSecurityRestrictionRule instance for mocking.