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

NetworkRuleSet Class

Definition

Description of topic resource.

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

Constructors

NetworkRuleSet()

Creates an new NetworkRuleSet instance.

Properties

DefaultAction

Default Action for Network Rule Set

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

IPRule

List of IpRules

Location

The geo-location where the resource lives

Name

The name of the resource

PublicNetworkAccess

This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The type of identity that last modified the resource.

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

TrustedServiceAccessEnabled

Value that indicates whether Trusted Service Access is Enabled or not.

Type

The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

VirtualNetworkRule

List VirtualNetwork 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.EventHub.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()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to