IotHubIPFilterRule Class

Definition

The IP filter rules for the IoT hub.

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

Constructors

IotHubIPFilterRule(String, IotHubIPFilterActionType, String)

Initializes a new instance of IotHubIPFilterRule.

Properties

Action

The desired action for requests captured by this rule.

FilterName

The 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<IotHubIPFilterRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IotHubIPFilterRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IotHubIPFilterRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IotHubIPFilterRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IotHubIPFilterRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to