Skip to content

Commit bc6caea

Browse files
committed
remove interactive
1 parent 33e550c commit bc6caea

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/machine-learning/how-to-assign-roles.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ This custom role can do everything in the workspace except for the following act
126126

127127
To deploy this custom role, use the following Azure CLI command:
128128

129-
```azurecli-interactive
129+
```azurecli
130130
az role definition create --role-definition data_scientist_role.json
131131
```
132132

@@ -138,29 +138,29 @@ For more information on custom roles, see [Azure custom roles](/azure/role-based
138138

139139
For more information on the operations (actions and not actions) usable with custom roles, see [Resource provider operations](/azure/role-based-access-control/resource-provider-operations#microsoftmachinelearningservices). You can also use the following Azure CLI command to list operations:
140140

141-
```azurecli-interactive
141+
```azurecli
142142
az provider operation show –n Microsoft.MachineLearningServices
143143
```
144144

145145
## List custom roles
146146

147147
In the Azure CLI, run the following command:
148148

149-
```azurecli-interactive
149+
```azurecli
150150
az role definition list --subscription <sub-id> --custom-role-only true
151151
```
152152

153153
To view the role definition for a specific custom role, use the following Azure CLI command. The `<role-name>` should be in the same format returned by the command above:
154154

155-
```azurecli-interactive
155+
```azurecli
156156
az role definition list -n <role-name> --subscription <sub-id>
157157
```
158158

159159
## Update a custom role
160160

161161
In the Azure CLI, run the following command:
162162

163-
```azurecli-interactive
163+
```azurecli
164164
az role definition update --role-definition update_def.json --subscription <sub-id>
165165
```
166166

0 commit comments

Comments
 (0)