Skip to content

Commit 7ceb554

Browse files
committed
update cli and links
1 parent a367be1 commit 7ceb554

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

articles/machine-learning/concept-azure-machine-learning-v2.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,15 @@ To use the Python SDK code examples in this article:
6565

6666
To use the Azure CLI code examples in this article, you need to have the Azure CLI installed and configured. You can install the Azure CLI from the [Install and set up the CLI (v2)](how-to-configure-cli.md).
6767

68+
Once you have the Azure CLI installed, sign in to your Azure account:
69+
70+
:::code language="azurecli" source="~/azureml-examples-main/cli/misc.sh" id="az_login":::
71+
72+
If you have access to multiple Azure subscriptions, you set your active subscription:
73+
74+
:::code language="azurecli" source="~/azureml-examples-main/cli/misc.sh" id="az_account_set":::
75+
76+
6877
### [Studio](#tab/azure-studio)
6978

7079
Sign in to [Azure Machine Learning studio](https://ml.azure.com).
@@ -108,7 +117,7 @@ To create a workspace using CLI v2, use the following command:
108117
az ml workspace create --file my_workspace.yml
109118
```
110119

111-
For more information, see [workspace YAML schema](reference-yaml-workspace.md).
120+
For the content of the file, see [workspace YAML examples](https://github.com/Azure/azureml-examples/tree/main/cli/resources/workspace).
112121

113122
### [Studio](#tab/azure-studio)
114123

@@ -156,10 +165,11 @@ To create a compute using CLI v2, use the following command:
156165
[!INCLUDE [cli v2](includes/machine-learning-cli-v2.md)]
157166

158167
```bash
159-
az ml compute --file my_compute.yml
168+
az ml compute create --file my_compute.yml
160169
```
161170

162-
For more information, see [compute YAML schema](reference-yaml-overview.md#compute).
171+
For the content of the file, see [compute YAML examples](https://github.com/Azure/azureml-examples/tree/main/cli/resources/compute).
172+
.
163173

164174
### [Studio](#tab/azure-studio)
165175

@@ -214,7 +224,7 @@ To create a datastore using CLI v2, use the following command:
214224
az ml datastore create --file my_datastore.yml
215225
```
216226

217-
For more information, see [datastore YAML schema](reference-yaml-overview.md#datastore).
227+
For the content of the file, see [datastore YAML examples](https://github.com/Azure/azureml-examples/tree/main/cli/resources/datastore).
218228

219229
### [Studio](#tab/azure-studio)
220230

0 commit comments

Comments
 (0)