Delen via


AccessRule Class

Definition

Access rule in a network security perimeter configuration profile.

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

Constructors

AccessRule()

Initializes a new instance of AccessRule.

Properties

Name

Name of the access rule.

Properties

Properties of Access Rule.

Explicit Interface Implementations

IJsonModel<AccessRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AccessRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AccessRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AccessRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AccessRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to