你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NspAccessRule Class

Definition

Information of Access Rule in Network Profile

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

Constructors

NspAccessRule()

Creates an new NspAccessRule instance.

Properties

AddressPrefix

Address prefixes in the CIDR format for inbound rules

Direction

Direction of Access Rule

FullyQualifiedDomainName

FQDN for outbound rules

Id

Fully qualified identifier of the resource

Name

Name of the resource

NetworkSecurityPerimeter

NetworkSecurityPerimeters for inbound rules

Subscription

Subscriptions for inbound rules

Type

Type of the resource

Methods

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.EventHub.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