IotHubNetworkRuleSetProperties Class

Definition

Network Rule Set Properties of IotHub.

public class IotHubNetworkRuleSetProperties
public class IotHubNetworkRuleSetProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetProperties>
type IotHubNetworkRuleSetProperties = class
type IotHubNetworkRuleSetProperties = class
    interface IJsonModel<IotHubNetworkRuleSetProperties>
    interface IPersistableModel<IotHubNetworkRuleSetProperties>
Public Class IotHubNetworkRuleSetProperties
Public Class IotHubNetworkRuleSetProperties
Implements IJsonModel(Of IotHubNetworkRuleSetProperties), IPersistableModel(Of IotHubNetworkRuleSetProperties)
Inheritance
IotHubNetworkRuleSetProperties
Implements

Constructors

IotHubNetworkRuleSetProperties(Boolean, IEnumerable<IotHubNetworkRuleSetIPRule>)

Initializes a new instance of IotHubNetworkRuleSetProperties.

Properties

ApplyToBuiltInEventHubEndpoint

If True, then Network Rule Set is also applied to BuiltIn EventHub EndPoint of IotHub.

DefaultAction

Default Action for Network Rule Set.

IPRules

List of IP Rules.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IotHubNetworkRuleSetProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<IotHubNetworkRuleSetProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IotHubNetworkRuleSetProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IotHubNetworkRuleSetProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<IotHubNetworkRuleSetProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to