Skip to content

Commit e77d7a9

Browse files
Merge pull request #224695 from Blackmist/fixes0123
updates around prefix value
2 parents a9ec77e + 2af57da commit e77d7a9

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

articles/machine-learning/how-to-secure-training-vnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ In the `az ml compute create` command, replace the following values:
148148

149149
```azurecli
150150
# create a compute cluster with no public IP
151-
az ml compute create --name cpu-cluster --resource-group rg --workspace-name ws --vnet-name yourvnet --subnet yoursubnet --type AmlCompute --set enable-node-public-ip=False
151+
az ml compute create --name cpu-cluster --resource-group rg --workspace-name ws --vnet-name yourvnet --subnet yoursubnet --type AmlCompute --set enable_node_public_ip=False
152152
153153
# create a compute instance with no public IP
154-
az ml compute create --name myci --resource-group rg --workspace-name ws --vnet-name yourvnet --subnet yoursubnet --type ComputeInstance --set enable-node-public-ip=False
154+
az ml compute create --name myci --resource-group rg --workspace-name ws --vnet-name yourvnet --subnet yoursubnet --type ComputeInstance --set enable_node_public_ip=False
155155
```
156156

157157
# [Python](#tab/python)

articles/machine-learning/tutorial-create-secure-workspace-template.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -148,32 +148,29 @@ To run the Bicep template, use the following commands from the `machine-learning
148148
149149
---
150150
151-
1. To run the template, use the following command:
152-
153-
# [Azure CLI](#tab/cli)
151+
1. To run the template, use the following command. Replace the `prefix` with a unique prefix. The prefix will be used when creating Azure resources that are required for Azure Machine Learning. Replace the `securepassword` with a secure password for the jump box. The password is for the login account for the jump box (`azureadmin` in the examples below):
154152
155153
> [!TIP]
156-
> The `prefix` must be 5 or less characters.
154+
> The `prefix` must be 5 or less characters. It can't be entirely numeric or contain the following characters: `~ ! @ # $ % ^ & * ( ) = + _ [ ] { } \ | ; : . ' " , < > / ?`.
155+
156+
# [Azure CLI](#tab/cli)
157157
158158
```azurecli
159159
az deployment group create \
160160
--resource-group exampleRG \
161161
--template-file main.bicep \
162162
--parameters \
163-
prefix=myprefix \
163+
prefix=prefix \
164164
dsvmJumpboxUsername=azureadmin \
165165
dsvmJumpboxPassword=securepassword
166166
```
167167
# [Azure PowerShell](#tab/ps1)
168168
169-
> [!TIP]
170-
> The `prefix` must be 5 or less characters.
171-
172169
```azurepowershell
173170
$dsvmPassword = ConvertTo-SecureString "mysecurepassword" -AsPlainText -Force
174171
New-AzResourceGroupDeployment -ResourceGroupName exampleRG `
175172
-TemplateFile ./main.bicep `
176-
-prefix "myprefix" `
173+
-prefix "prefix" `
177174
-dsvmJumpboxUsername "azureadmin" `
178175
-dsvmJumpboxPassword $dsvmPassword
179176
```

0 commit comments

Comments
 (0)