Share via


CosmosDBSqlRolePermission Class

Definition

The set of data plane operations permitted through this Role Definition.

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

Constructors

CosmosDBSqlRolePermission()

Initializes a new instance of CosmosDBSqlRolePermission.

Properties

DataActions

An array of data actions that are allowed.

NotDataActions

An array of data actions that are denied.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBSqlRolePermission>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBSqlRolePermission>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBSqlRolePermission>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBSqlRolePermission>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBSqlRolePermission>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to