IPRule Class
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.
IP rule with specific IP or IP range in CIDR format.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IPRuleTypeConverter))]
public class IPRule : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IIPRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IPRuleTypeConverter))>]
type IPRule = class
interface IIPRule
interface IJsonSerializable
Public Class IPRule
Implements IIPRule
- Inheritance
-
IPRule
- Attributes
- Implements
Constructors
IPRule() |
Creates an new IPRule instance. |
Properties
Action |
The action of IP ACL rule. |
IPAddressOrRange |
Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of IPRule. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IIPRule. |
FromJsonString(String) |
Creates a new instance of IPRule, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |