Partager via


NetworkRuleSet Class

Definition

Network rule set

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.NetworkRuleSetTypeConverter))]
public class NetworkRuleSet : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.INetworkRuleSet
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.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

Bypass

Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics.

DefaultAction

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

IPRule

Sets the IP ACL rules

ResourceAccessRule

Sets the resource access rules

VirtualNetworkRule

Sets the virtual network 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.Storage.Models.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