Share via


BastionHostIPRule Class

Definition

The BastionHostIPRule.

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

Constructors

BastionHostIPRule()

Initializes a new instance of BastionHostIPRule.

Properties

AddressPrefix

Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.

Explicit Interface Implementations

IJsonModel<BastionHostIPRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BastionHostIPRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BastionHostIPRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BastionHostIPRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BastionHostIPRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to