Partager via


CosmosDBTableRoleDefinitionData Class

Definition

A class representing the CosmosDBTableRoleDefinition data model. Parameters to create and update an Azure Cosmos DB Table Role Definition.

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

Constructors

CosmosDBTableRoleDefinitionData()

Initializes a new instance of CosmosDBTableRoleDefinitionData.

Properties

AssignableScopes

A set of fully qualified Scopes at or below which Table 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.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
PathId

The path id for the Role Definition.

Permissions

The set of operations allowed through this Role Definition.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
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.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBTableRoleDefinitionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBTableRoleDefinitionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBTableRoleDefinitionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBTableRoleDefinitionData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBTableRoleDefinitionData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to