Skip to content

Commit 1e67b04

Browse files
committed
v1 sdk deprecation notes
1 parent 98692bc commit 1e67b04

11 files changed

+51
-7
lines changed

articles/machine-learning/concept-data-encryption.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ For examples of creating a workspace by using an existing container registry, se
9797
> [!IMPORTANT]
9898
> Deployments to Azure Container Instances rely on the Azure Machine Learning Python SDK and CLI v1.
9999
100+
[!INCLUDE [v1 deprecation](includes/sdk-v1-deprecation.md)]
101+
102+
[!INCLUDE [v1 cli deprecation](includes/machine-learning-cli-v1-deprecation.md)]
103+
100104
You can encrypt a deployed Azure Container Instances resource by using customer-managed keys. The customer-managed keys that you use for Container Instances can be stored in the key vault for your workspace.
101105

102106
[!INCLUDE [sdk v1](includes/machine-learning-sdk-v1.md)]

articles/machine-learning/concept-ml-pipelines.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ monikerRange: 'azureml-api-2 || azureml-api-1'
1717

1818
:::moniker range="azureml-api-1"
1919
[!INCLUDE [dev v1](includes/machine-learning-dev-v1.md)]
20+
21+
[!INCLUDE [v1 deprecation](includes/sdk-v1-deprecation.md)]
2022
:::moniker-end
2123
:::moniker range="azureml-api-2"
2224
[!INCLUDE [dev v2](includes/machine-learning-dev-v2.md)]

articles/machine-learning/concept-soft-delete.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ When deleting a workspace from the Azure portal, check __Delete the workspace pe
6969
> [!TIP]
7070
> The v1 SDK and CLI don't provide functionality to override the default soft-delete behavior. To override the default behavior from SDK or CLI, use the v2 versions. For more information, see the [CLI & SDK v2](concept-v2.md) article or the [v2 version of this article](concept-soft-delete.md?view=azureml-api-2&preserve-view=true#deleting-a-workspace).
7171
72+
[!INCLUDE [v1 deprecation](includes/sdk-v1-deprecation.md)]
73+
74+
[!INCLUDE [v1 cli deprecation](includes/machine-learning-cli-v1-deprecation.md)]
75+
7276
:::moniker-end
7377
:::moniker range="azureml-api-2"
7478
If you're using the [Azure Machine Learning SDK or CLI](/python/api/azure-ai-ml/azure.ai.ml.operations.workspaceoperations#azure-ai-ml-operations-workspaceoperations-begin-delete), you can set the `permanently_delete` flag.

articles/machine-learning/concept-workspace.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,31 +101,45 @@ There are multiple ways to create a workspace. To get started, use one of the fo
101101
* Use the [VS Code extension](how-to-manage-resources-vscode.md#create-a-workspace) if you work in Visual Studio Code.
102102

103103
To automate workspace creation using your preferred security settings:
104-
* [Azure Resource Manager / Bicep templates](how-to-create-workspace-template.md) provide a declarative syntax to deploy Azure resources. An alternative option is to use [Terraform](how-to-manage-workspace-terraform.md). Also see the [Bicep template](/samples/azure/azure-quickstart-templates/machine-learning-end-to-end-secure/) or [Terraform template](https://github.com/Azure/terraform/tree/master/quickstart/201-machine-learning-moderately-secure).
104+
105105
:::moniker range="azureml-api-2"
106+
* [Azure Resource Manager / Bicep templates](how-to-create-workspace-template.md) provide a declarative syntax to deploy Azure resources. An alternative option is to use [Terraform](how-to-manage-workspace-terraform.md). Also see the [Bicep template](/samples/azure/azure-quickstart-templates/machine-learning-end-to-end-secure/) or [Terraform template](https://github.com/Azure/terraform/tree/master/quickstart/201-machine-learning-moderately-secure).
106107
* Use the [Azure Machine Learning CLI](how-to-configure-cli.md) or [Azure Machine Learning SDK for Python](how-to-manage-workspace.md?tabs=python#create-a-workspace) for prototyping and as part of your [MLOps workflows](concept-model-management-and-deployment.md).
108+
* Use [REST APIs](how-to-manage-rest.md) directly in scripting environment, for platform integration or in MLOps workflows.
107109
:::moniker-end
108110
:::moniker range="azureml-api-1"
109-
* Use the [Azure Machine Learning CLI](./v1/reference-azure-machine-learning-cli.md) or [Azure Machine Learning SDK for Python](how-to-manage-workspace.md?tabs=python#create-a-workspace) for prototyping and as part of your [MLOps workflows](concept-model-management-and-deployment.md).
110-
:::moniker-end
111+
* [Azure Resource Manager / Bicep templates](how-to-create-workspace-template.md) provide a declarative syntax to deploy Azure resources. An alternative option is to use [Terraform](how-to-manage-workspace-terraform.md). Also see the [Bicep template](/samples/azure/azure-quickstart-templates/machine-learning-end-to-end-secure/) or [Terraform template](https://github.com/Azure/terraform/tree/master/quickstart/201-machine-learning-moderately-secure).
112+
* Use the [Azure Machine Learning CLI v1](./v1/reference-azure-machine-learning-cli.md) or [Azure Machine Learning SDK v1 for Python](how-to-manage-workspace.md?tabs=python#create-a-workspace) for prototyping and as part of your [MLOps workflows](concept-model-management-and-deployment.md).
113+
114+
[!INCLUDE [v1 deprecation](includes/sdk-v1-deprecation.md)]
115+
116+
[!INCLUDE [v1 cli deprecation](includes/machine-learning-cli-v1-deprecation.md)]
117+
111118
* Use [REST APIs](how-to-manage-rest.md) directly in scripting environment, for platform integration or in MLOps workflows.
119+
:::moniker-end
112120

113121
## Tools for workspace interaction and management
114122

115123
Once your workspace is set up, you can interact with it in the following ways:
116124

125+
:::moniker range="azureml-api-2"
117126
+ On the web:
118127
+ [Azure Machine Learning studio ](https://ml.azure.com)
119128
+ [Azure Machine Learning designer](concept-designer.md)
120-
:::moniker range="azureml-api-2"
121129
+ In any Python environment with the [Azure Machine Learning SDK](https://aka.ms/sdk-v2-install).
122130
+ On the command line, using the Azure Machine Learning [CLI extension v2](how-to-configure-cli.md)
131+
+ [Azure Machine Learning VS Code Extension](how-to-manage-resources-vscode.md#workspaces)
123132
:::moniker-end
124133
:::moniker range="azureml-api-1"
125-
+ In any Python environment with the [Azure Machine Learning SDK](/python/api/overview/azure/ml/)
134+
+ On the web:
135+
+ [Azure Machine Learning studio ](https://ml.azure.com)
136+
+ [Azure Machine Learning designer](concept-designer.md)
137+
+ In any Python environment with the [Azure Machine Learning SDK v1](/python/api/overview/azure/ml/)
138+
[!INCLUDE [v1 deprecation](includes/sdk-v1-deprecation.md)]
126139
+ On the command line, using the Azure Machine Learning [CLI extension v1](./v1/reference-azure-machine-learning-cli.md)
127-
:::moniker-end
140+
[!INCLUDE [v1 cli deprecation](includes/machine-learning-cli-v1-deprecation.md)]
128141
+ [Azure Machine Learning VS Code Extension](how-to-manage-resources-vscode.md#workspaces)
142+
:::moniker-end
129143

130144
The following workspace management tasks are available in each interface.
131145

articles/machine-learning/how-to-change-storage-access-key.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ monikerRange: 'azureml-api-2 || azureml-api-1'
2222
:::moniker range="azureml-api-1"
2323
[!INCLUDE [cli v1](includes/machine-learning-dev-v1.md)]
2424
[!INCLUDE [SDK v1](includes/machine-learning-sdk-v1.md)]
25+
26+
[!INCLUDE [v1 deprecation](includes/sdk-v1-deprecation.md)]
27+
28+
[!INCLUDE [v1 cli deprecation](includes/machine-learning-cli-v1-deprecation.md)]
2529
:::moniker-end
2630

2731
Learn how to change the access keys for Azure Storage accounts used by Azure Machine Learning. Azure Machine Learning can use storage accounts to store data or trained models.

articles/machine-learning/how-to-export-delete-data.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ Select **Download all** to start the model download process, as shown in this sc
110110

111111
:::moniker range="azureml-api-1"
112112

113-
## Export and delete resources using the Python SDK
113+
## Export and delete resources using the Python SDK v1
114+
115+
[!INCLUDE [v1 deprecation](includes/sdk-v1-deprecation.md)]
114116

115117
You can download the outputs of a particular job using:
116118

articles/machine-learning/how-to-network-security-overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ monikerRange: 'azureml-api-2 || azureml-api-1'
2323
:::moniker-end
2424
:::moniker range="azureml-api-1"
2525
[!INCLUDE [dev v1](includes/machine-learning-dev-v1.md)]
26+
27+
[!INCLUDE [v1 deprecation](includes/sdk-v1-deprecation.md)]
2628
:::moniker-end
2729

2830
[!INCLUDE [managed-vnet-note](includes/managed-vnet-note.md)]

articles/machine-learning/how-to-setup-customer-managed-keys.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ For more information on customer-managed keys with Azure Cosmos DB, see [Configu
138138
> [!IMPORTANT]
139139
> Deploying to Azure Container Instances is not available in SDK or CLI v2. Only through SDK & CLI v1.
140140
141+
[!INCLUDE [v1 deprecation](includes/sdk-v1-deprecation.md)]
142+
143+
[!INCLUDE [v1 cli deprecation](includes/machine-learning-cli-v1-deprecation.md)]
144+
141145
When __deploying__ a trained model to an Azure Container instance (ACI), you can encrypt the deployed resource using a customer-managed key. For information on generating a key, see [Encrypt data with a customer-managed key](/azure/container-instances/container-instances-encrypt-data#generate-a-new-key).
142146
143147
To use the key when deploying a model to Azure Container Instance, create a new deployment configuration using `AciWebservice.deploy_configuration()`. Provide the key information using the following parameters:

articles/machine-learning/how-to-troubleshoot-environments.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ monikerRange: 'azureml-api-1 || azureml-api-2'
2121
:::moniker-end
2222
:::moniker range="azureml-api-1"
2323
[!INCLUDE [dev v1](includes/machine-learning-dev-v1.md)]
24+
25+
[!INCLUDE [v1 deprecation](includes/sdk-v1-deprecation.md)]
2426
:::moniker-end
2527

2628
In this article, learn how to troubleshoot common problems you may encounter with environment image builds and learn about AzureML environment vulnerabilities.

articles/machine-learning/how-to-use-event-grid.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ Use [Azure Logic Apps](/azure/logic-apps/) to configure emails for all your even
185185
> [!IMPORTANT]
186186
> This example relies on a feature (data drift) that is only available when using Azure Machine Learning SDK v1 or Azure CLI extension v1 for Azure Machine Learning. For more information, see [What is Azure Machine Learning CLI & SDK v2](concept-v2.md).
187187
188+
[!INCLUDE [v1 deprecation](includes/sdk-v1-deprecation.md)]
189+
190+
[!INCLUDE [v1 cli deprecation](includes/machine-learning-cli-v1-deprecation.md)]
191+
188192
Models go stale over time, and not remain useful in the context it's running in. One way to tell if it's time to retrain the model is detecting data drift.
189193

190194
This example shows how to use Event Grid with an Azure Logic App to trigger retraining. The example triggers an Azure Data Factory pipeline when data drift occurs between a model's training and serving datasets.

0 commit comments

Comments
 (0)