ContainerRegistryIPRule Class

Definition

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

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

Constructors

ContainerRegistryIPRule(String)

Initializes a new instance of ContainerRegistryIPRule.

Properties

Action

The action of IP ACL rule.

IPAddressOrRange

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryIPRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryIPRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryIPRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryIPRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryIPRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to