az synapse role definition

Manage Synapse's role definitions.

Commands

az synapse role definition list

List role definitions.

az synapse role definition show

Get role definition by role id/name.

az synapse role definition list

List role definitions.

az synapse role definition list --workspace-name
                                [--is-built-in {false, true}]

Examples

List role definitions.

az synapse role definition list --workspace-name testsynapseworkspace

List role definitions built-in by Synapse.

az synapse role definition list --workspace-name testsynapseworkspace --is-built-in True

Required Parameters

--workspace-name

The workspace name.

Optional Parameters

--is-built-in

Is a Synapse Built-In Role or not.

accepted values: false, true

az synapse role definition show

Get role definition by role id/name.

az synapse role definition show --role
                                --workspace-name

Examples

Get role definition by role id.

az synapse role definition show --workspace-name testsynapseworkspace \
--role 00000000-0000-0000-0000-000000000000

Get role definition by role name.

az synapse role definition show --workspace-name testsynapseworkspace \
--role "Synapse SQL Administrator"

Required Parameters

--role

The role name/id that is assigned to the principal.

--workspace-name

The workspace name.