IotHubNetworkRuleSetIPRule Class

Definition

IP Rule to be applied as part of Network Rule Set.

C#
public class IotHubNetworkRuleSetIPRule
C#
public class IotHubNetworkRuleSetIPRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetIPRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetIPRule>
Inheritance
IotHubNetworkRuleSetIPRule
Implements

Constructors

Properties

Action

IP Filter Action.

FilterName

Name of the IP filter rule.

IPMask

A string that contains the IP address range in CIDR notation for the rule.

Methods

Explicit Interface Implementations

IJsonModel<IotHubNetworkRuleSetIPRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IotHubNetworkRuleSetIPRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IotHubNetworkRuleSetIPRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IotHubNetworkRuleSetIPRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IotHubNetworkRuleSetIPRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to

Product Versions
Azure SDK for .NET Latest, Preview