IPRule Constructors
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.
Overloads
IPRule() |
Initializes a new instance of the IPRule class. |
IPRule(String, String) |
Initializes a new instance of the IPRule class. |
IPRule()
Initializes a new instance of the IPRule class.
public IPRule ();
Public Sub New ()
Applies to
IPRule(String, String)
Initializes a new instance of the IPRule class.
public IPRule (string iPAddressOrRange, string action = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.IPRule : string * string -> Microsoft.Azure.Management.ContainerRegistry.Models.IPRule
Public Sub New (iPAddressOrRange As String, Optional action As String = Nothing)
Parameters
- iPAddressOrRange
- String
Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- action
- String
The action of IP ACL rule. Possible values include: 'Allow'
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for