Share via


NspAccessRuleProperties Class

Definition

Properties of Access Rule

[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRulePropertiesTypeConverter))]
public class NspAccessRuleProperties : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.NspAccessRulePropertiesTypeConverter))>]
type NspAccessRuleProperties = class
    interface INspAccessRuleProperties
    interface IJsonSerializable
Public Class NspAccessRuleProperties
Implements INspAccessRuleProperties
Inheritance
NspAccessRuleProperties
Attributes
Implements

Constructors

NspAccessRuleProperties()

Creates an new NspAccessRuleProperties instance.

Properties

AddressPrefix

Address prefixes in the CIDR format for inbound rules

Direction

Direction of Access Rule

FullyQualifiedDomainName

FQDN for outbound rules

NetworkSecurityPerimeter

NetworkSecurityPerimeters for inbound rules

Subscription

Subscriptions for inbound rules

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NspAccessRuleProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NspAccessRuleProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.Api202301Preview.INspAccessRuleProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NspAccessRuleProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to