Share via


StorageAccountIPRule Class

Definition

IP rule with specific IP or IP range in CIDR format.

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

Constructors

StorageAccountIPRule(String)

Initializes a new instance of StorageAccountIPRule.

Properties

Action

The action of IP ACL rule.

IPAddressOrRange

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

Explicit Interface Implementations

IJsonModel<StorageAccountIPRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageAccountIPRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageAccountIPRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageAccountIPRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageAccountIPRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to