共用方式為


CosmosDBSqlRoleAssignmentCreateOrUpdateContent Class

Definition

Parameters to create and update an Azure Cosmos DB SQL Role Assignment.

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

Constructors

CosmosDBSqlRoleAssignmentCreateOrUpdateContent()

Initializes a new instance of CosmosDBSqlRoleAssignmentCreateOrUpdateContent.

Properties

PrincipalId

The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription.

RoleDefinitionId

The unique identifier for the associated Role Definition.

Scope

The data plane resource path for which access is being granted through this Role Assignment.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBSqlRoleAssignmentCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBSqlRoleAssignmentCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBSqlRoleAssignmentCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBSqlRoleAssignmentCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBSqlRoleAssignmentCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to