Share via


NetworkRuleSet Class

Definition

Description of NetworkRuleSet resource.

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

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.ServiceBus.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()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to