Share via


AccessRuleProperties Class

Definition

Properties of Access Rule.

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

Constructors

AccessRuleProperties()

Initializes a new instance of AccessRuleProperties.

Properties

AddressPrefixes

Address prefixes in the CIDR format for inbound rules.

Direction

Direction of Access Rule.

EmailAddresses

Email addresses for outbound rules.

FullyQualifiedDomainNames

Fully qualified domain names (FQDN) for outbound rules.

NetworkSecurityPerimeters

Network security perimeters for inbound rules.

PhoneNumbers

Phone numbers for outbound rules.

Subscriptions

Subscriptions for inbound rules.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AccessRuleProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AccessRuleProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AccessRuleProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AccessRuleProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AccessRuleProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to