MongoMIRoleDefinitionData Class

Definition

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

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

Constructors

Name Description
MongoMIRoleDefinitionData()

Initializes a new instance of MongoMIRoleDefinitionData.

Properties

Name Description
AssignableScopes

A set of fully qualified Scopes at or below which MongoMI 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<MongoMIRoleDefinitionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<MongoMIRoleDefinitionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<MongoMIRoleDefinitionData>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<MongoMIRoleDefinitionData>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<MongoMIRoleDefinitionData>.Write(ModelReaderWriterOptions)

Applies to