Skip to content

Commit 0855431

Browse files
committed
change
1 parent 8691070 commit 0855431

File tree

1 file changed

+31
-24
lines changed

1 file changed

+31
-24
lines changed

articles/machine-learning/how-to-manage-workspace-cli.md

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ You can also use the following methods to create and manage Azure Machine Learni
3838

3939
[!INCLUDE [register-namespace](includes/machine-learning-register-namespace.md)]
4040

41-
- The following limitation applies to the Application Insights instance created during workspace creation:
42-
43-
[!INCLUDE [application-insight](includes/machine-learning-application-insight.md)]
44-
45-
- The Azure Machine Learning workspace uses Azure Container Registry for some operations, and automatically creates a Container Registry instance when it first needs one.
46-
47-
[!INCLUDE [machine-learning-delete-acr](includes/machine-learning-delete-acr.md)]
48-
4941
## Connect to your Azure subscription
5042

5143
If you use Azure Cloud Shell from the Azure portal, you can skip this section. The cloud shell automatically authenticates you using the Azure subscription you're signed in with.
@@ -128,34 +120,49 @@ The output of the workspace creation command is similar to the following JSON. Y
128120

129121
### YAML configuration file
130122

131-
To use existing resources for a new workspace, you create a YAML configuration file that defines the resources. The following YAML code shows an example workspace configuration file:
123+
To use existing resources for a new workspace, you define the resources in a YAML configuration file. The following example shows a YAML workspace configuration file:
132124

133125
:::code language="YAML" source="~/azureml-examples-main/cli/resources/workspace/with-existing-resources.yml":::
134126

135-
You don't have to specify all the associated dependent resources in the configuration file. You can specify one or more of the resources, and let the others be automatically created.
136-
137-
If you use an existing storage account for the workspace, it must meet the following criteria. These requirements apply only to the *default* storage account for the workspace.
138-
139-
- Not a premium account (Premium_LRS or Premium_GRS)
140-
- Azure Blob and Azure File capabilities both enabled
141-
- Hierarchical namespace disabled for Azure Data Lake Storage
142-
143-
To use an existing Azure container registry with an Azure Machine Learning workspace, you must [enable the admin account](/azure/container-registry/container-registry-authentication#admin-account) on the container registry.
127+
You don't have to specify all the associated dependent resources in the configuration file. You can specify one or more of the resources, and let the others be created automatically.
144128

145-
You must provide the existing resource IDs in the YAML file. You can get these IDs either by viewing the resource **Properties** in the Azure portal, or by running the following Azure CLI commands:
129+
You must provide the IDs for existing resources in the YAML file. You can get these IDs either by viewing the resource **Properties** in the Azure portal, or by running the following Azure CLI commands:
146130

147-
- **Azure Storage Account**:<br>
148-
`az storage account show --name <storage-account-name> --query "id"`
149131
- **Azure Application Insights**:<br>
150132
`az monitor app-insights component show --app <application-insight-name> -g <resource-group-name> --query "id"`
151-
- **Azure Key Vault**:<br>
152-
`az keyvault show --name <key-vault-name> --query "id"`
153133
- **Azure Container Registry**:<br>
154134
`az acr show --name <container-registry-name> -g <resource-group-name> --query "id"`
135+
- **Azure Key Vault**:<br>
136+
`az keyvault show --name <key-vault-name> --query "id"`
137+
- **Azure Storage Account**:<br>
138+
`az storage account show --name <storage-account-name> --query "id"`
155139

156-
The query results look similar to the following string:<br>
140+
The query results look like the following string:<br>
157141
`"/subscriptions/<subscription-GUID>/resourceGroups/<resource-group-name>/providers/<provider>/<subresource>/<id>"`.
158142

143+
### Associated dependent resources
144+
145+
The following considerations and limitations apply to dependent resources associated with workspaces.
146+
147+
#### Application Insights
148+
149+
[!INCLUDE [application-insight](includes/machine-learning-application-insight.md)]
150+
151+
#### Container Registry
152+
153+
The Azure Machine Learning workspace uses Azure Container Registry for some operations, and automatically creates a Container Registry instance when it first needs one.
154+
[!INCLUDE [machine-learning-delete-acr](includes/machine-learning-delete-acr.md)]
155+
156+
To use an existing Azure container registry with an Azure Machine Learning workspace, you must [enable the admin account](/azure/container-registry/container-registry-authentication#admin-account) on the container registry.
157+
158+
#### Storage Account
159+
160+
If you use an existing storage account for the workspace, it must meet the following criteria. These requirements apply to the default storage account only.
161+
162+
- The account can't be Premium_LRS or Premium_GRS.
163+
- Azure Blob and Azure File capabilities must both be enabled.
164+
- Hierarchical namespace must be disabled for Azure Data Lake Storage.
165+
159166
## Secure Azure CLI communications
160167

161168
All Azure Machine Learning V2 `az ml` commands communicate operational data, such as YAML parameters and metadata, to Azure Resource Manager. Some of the Azure CLI commands communicate with Azure Resource Manager over the internet.

0 commit comments

Comments
 (0)