Delen via


IotCentralNetworkRuleSetIPRule Class

Definition

An object for an IP range that will be allowed access.

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

Constructors

IotCentralNetworkRuleSetIPRule()

Initializes a new instance of IotCentralNetworkRuleSetIPRule.

Properties

FilterName

The readable name of the IP rule.

IPMask

The CIDR block defining the IP range.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IotCentralNetworkRuleSetIPRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IotCentralNetworkRuleSetIPRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IotCentralNetworkRuleSetIPRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IotCentralNetworkRuleSetIPRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IotCentralNetworkRuleSetIPRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to