Partager via


NspAccessRule Class

Definition

Information of Access Rule in Network Security Perimeter profile

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.NspAccessRuleTypeConverter))]
public class NspAccessRule : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.INspAccessRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.NspAccessRuleTypeConverter))>]
type NspAccessRule = class
    interface INspAccessRule
    interface IJsonSerializable
Public Class NspAccessRule
Implements INspAccessRule
Inheritance
NspAccessRule
Attributes
Implements

Constructors

Name Description
NspAccessRule()

Creates an new NspAccessRule instance.

Properties

Name Description
AddressPrefix

Address prefixes in the CIDR format for inbound rules

Direction

Direction of Access Rule

FullyQualifiedDomainName

FQDN for outbound rules

Name

Name of the resource

NetworkSecurityPerimeter

NetworkSecurityPerimeters for inbound rules

Subscription

Subscriptions for inbound rules

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NspAccessRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NspAccessRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.INspAccessRule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NspAccessRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to