• Public
  • Public/Protected
  • All

Interface SqlRoleDefinitionCreateUpdateParameters

Package version

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


  • SqlRoleDefinitionCreateUpdateParameters



Optional assignableScopes

assignableScopes: string[]

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.

Optional permissions

permissions: Permission[]

The set of operations allowed through this Role Definition.

Optional roleName

roleName: undefined | string

A user-friendly name for the Role Definition. Must be unique for the database account.

Optional type

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

Generated using TypeDoc