You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/reference-azure-machine-learning-cli.md
+59Lines changed: 59 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -259,6 +259,65 @@ The following commands demonstrate how to create, register, and list Azure Machi
259
259
260
260
For more information, see [az ml environment download](https://docs.microsoft.com/cli/azure/ext/azure-cli-ml/ml/environment?view=azure-cli-latest#ext-azure-cli-ml-az-ml-environment-download).
261
261
262
+
### Environment configuration schema
263
+
264
+
If you used the `az ml environment scaffold` command, it generates a template `azureml_environment.json` file that can be modified and used to create custom environment configurations with the CLI. The top level object loosely maps to the [`Environment`](https://docs.microsoft.com/python/api/azureml-core/azureml.core.environment(class)?view=azure-ml-py) class in the Python SDK.
The following table details each top-level field in the JSON file, it's type, and a description. If an object type is linked to a class from the Python SDK, there is a loose 1:1 match between each JSON field and the public variable name in the Python class. For example, the `environmentVariables` field maps to the `environment_variables` variable in the [`Environment`](https://docs.microsoft.com/python/api/azureml-core/azureml.core.environment(class)?view=azure-ml-py) class.
309
+
310
+
| JSON field | Type | Description |
311
+
|---|---|---|
312
+
|`name`|`string`| Name of the environment. Do not start name with **Microsoft** or **AzureML**. |
313
+
|`version`|`string`| Version of the environment. |
314
+
|`environmentVariables`|`{string: string}`| A hash-map of environment variable names and values. |
315
+
|`python`|[`PythonSection`](https://docs.microsoft.com/python/api/azureml-core/azureml.core.environment.pythonsection?view=azure-ml-py)| Object that defines the Python environment and interpreter to use on target compute resource. |
316
+
|`docker`|[`DockerSection`](https://docs.microsoft.com/python/api/azureml-core/azureml.core.environment.dockersection?view=azure-ml-py)| Defines settings to customize the Docker image built to the environment's specifications. |
317
+
|`spark`|[`SparkSection`](https://docs.microsoft.com/python/api/azureml-core/azureml.core.environment.sparksection?view=azure-ml-py)| The section configures Spark settings. It is only used when framework is set to PySpark. |
|`inferencingStackVersion`|`string`| Specifies the inferencing stack version added to the image. To avoid adding an inferencing stack, leave this field `null`. Valid value: "latest". |
320
+
262
321
## ML pipeline management
263
322
264
323
The following commands demonstrate how to work with machine learning pipelines:
0 commit comments