CosmosDBSqlRoleDefinitionCreateOrUpdateContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parameters to create and update an Azure Cosmos DB SQL Role Definition.
public class CosmosDBSqlRoleDefinitionCreateOrUpdateContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlRoleDefinitionCreateOrUpdateContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBSqlRoleDefinitionCreateOrUpdateContent>
type CosmosDBSqlRoleDefinitionCreateOrUpdateContent = class
interface IJsonModel<CosmosDBSqlRoleDefinitionCreateOrUpdateContent>
interface IPersistableModel<CosmosDBSqlRoleDefinitionCreateOrUpdateContent>
Public Class CosmosDBSqlRoleDefinitionCreateOrUpdateContent
Implements IJsonModel(Of CosmosDBSqlRoleDefinitionCreateOrUpdateContent), IPersistableModel(Of CosmosDBSqlRoleDefinitionCreateOrUpdateContent)
- Inheritance
-
CosmosDBSqlRoleDefinitionCreateOrUpdateContent
- Implements
Constructors
CosmosDBSqlRoleDefinitionCreateOrUpdateContent() |
Initializes a new instance of CosmosDBSqlRoleDefinitionCreateOrUpdateContent. |
Properties
AssignableScopes |
A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. |
Permissions |
The set of operations allowed through this Role Definition. |
RoleDefinitionType |
Indicates whether the Role Definition was built-in or user created. |
RoleName |
A user-friendly name for the Role Definition. Must be unique for the database account. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<CosmosDBSqlRoleDefinitionCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CosmosDBSqlRoleDefinitionCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CosmosDBSqlRoleDefinitionCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CosmosDBSqlRoleDefinitionCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CosmosDBSqlRoleDefinitionCreateOrUpdateContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |