你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BatchIPRule Class

Definition

Rule to filter client IP address.

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

Constructors

BatchIPRule(String)

Initializes a new instance of BatchIPRule.

Properties

Action

Action when client IP address is matched.

Value

IPv4 address, or IPv4 address range in CIDR format.

Explicit Interface Implementations

IJsonModel<BatchIPRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchIPRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchIPRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchIPRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchIPRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to