CassandraRoleDefinitionData Class

Definition

Parameters to create and update an Azure Cosmos DB Cassandra Role Definition.

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

Constructors

Name Description
CassandraRoleDefinitionData()

Initializes a new instance of CassandraRoleDefinitionData.

Properties

Name Description
AssignableScopes

A set of fully qualified Scopes at or below which Cassandra 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)
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)
RoleDefinitionId

The path id for the Role Definition.

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)
Type

Indicates whether the Role Definition was built-in or user created.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CassandraRoleDefinitionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CassandraRoleDefinitionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<CassandraRoleDefinitionData>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CassandraRoleDefinitionData>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CassandraRoleDefinitionData>.Write(ModelReaderWriterOptions)

Applies to