IotHubNetworkRuleSetIPRule Class

Definition

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

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

Constructors

IotHubNetworkRuleSetIPRule(String, String)

Initializes a new instance of IotHubNetworkRuleSetIPRule.

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

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