Share via


NetworkRuleSet Class

Definition

The network rule set for a container registry.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.NetworkRuleSetTypeConverter))]
public class NetworkRuleSet : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.INetworkRuleSet
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.NetworkRuleSetTypeConverter))>]
type NetworkRuleSet = class
    interface INetworkRuleSet
    interface IJsonSerializable
Public Class NetworkRuleSet
Implements INetworkRuleSet
Inheritance
NetworkRuleSet
Attributes
Implements

Constructors

NetworkRuleSet()

Creates an new NetworkRuleSet instance.

Properties

DefaultAction

The default action of allow or deny when no other rules match.

IPRule

The IP ACL rules.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NetworkRuleSet.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NetworkRuleSet.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.INetworkRuleSet.

FromJsonString(String)

Creates a new instance of NetworkRuleSet, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NetworkRuleSet into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to