Skip to content

Commit 3ed94ad

Browse files
Merge pull request #210843 from sdgilley/sdg-patch
standardize tab names
2 parents dffabe6 + dc5825e commit 3ed94ad

File tree

2 files changed

+27
-21
lines changed

2 files changed

+27
-21
lines changed

articles/machine-learning/how-to-configure-private-link.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ ms.date: 08/29/2022
1515

1616
# Configure a private endpoint for an Azure Machine Learning workspace
1717

18-
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
19-
[!INCLUDE [cli v2](../../includes/machine-learning-cli-v2.md)]
18+
[!INCLUDE [CLI v2](../../includes/machine-learning-cli-v2.md)]
2019

21-
> [!div class="op_single_selector" title1="Select the Azure Machine Learning SDK or CLI version you are using:"]
22-
> * [SDK v1](v1/how-to-configure-private-link.md)
23-
> * [SDK v2 (current version)](how-to-configure-private-link.md)
20+
> [!div class="op_single_selector" title1="Select the Azure Machine Learning version you are using:"]
21+
> * [CLI or SDK v1](v1/how-to-configure-private-link.md)
22+
> * [CLI v2 (current)](how-to-configure-private-link.md)
2423
2524
In this document, you learn how to configure a private endpoint for your Azure Machine Learning workspace. For information on creating a virtual network for Azure Machine Learning, see [Virtual network isolation and privacy overview](how-to-network-security-overview.md).
2625

@@ -69,7 +68,8 @@ Use one of the following methods to create a workspace with a private endpoint.
6968
> [!TIP]
7069
> If you'd like to create a workspace, private endpoint, and virtual network at the same time, see [Use an Azure Resource Manager template to create a workspace for Azure Machine Learning](how-to-create-workspace-template.md).
7170
72-
# [Azure CLI extension 2.0](#tab/azurecliextensionv2)
71+
# [Azure CLI](#tab/cli)
72+
[!INCLUDE [cli v2](../../includes/machine-learning-cli-v2.md)]
7373

7474
When using the Azure CLI [extension 2.0 CLI for machine learning](how-to-configure-cli.md), a YAML document is used to configure the workspace. The following example demonstrates creating a new workspace using a YAML configuration:
7575

@@ -142,7 +142,7 @@ az network private-endpoint dns-zone-group add \
142142

143143
# [Portal](#tab/azure-portal)
144144

145-
The __Networking__ tab in Azure Machine Learning studio allows you to configure a private endpoint. However, it requires an existing virtual network. For more information, see [Create workspaces in the portal](how-to-manage-workspace.md).
145+
The __Networking__ tab in Azure Machine Learning portal allows you to configure a private endpoint. However, it requires an existing virtual network. For more information, see [Create workspaces in the portal](how-to-manage-workspace.md).
146146

147147
---
148148

@@ -154,7 +154,8 @@ Use one of the following methods to add a private endpoint to an existing worksp
154154
>
155155
> If you have any existing compute targets associated with this workspace, and they are not behind the same virtual network tha the private endpoint is created in, they will not work.
156156
157-
# [Azure CLI extension 2.0](#tab/azurecliextensionv2)
157+
# [Azure CLI](#tab/cli)
158+
[!INCLUDE [cli v2](../../includes/machine-learning-cli-v2.md)]
158159

159160
When using the Azure CLI [extension 2.0 CLI for machine learning](how-to-configure-cli.md), use the [Azure networking CLI commands](/cli/azure/network/private-endpoint#az-network-private-endpoint-create) to create a private link endpoint for the workspace.
160161

@@ -231,7 +232,9 @@ You can remove one or all private endpoints for a workspace. Removing a private
231232
232233
To remove a private endpoint, use the following information:
233234

234-
# [Azure CLI extension 2.0](#tab/azurecliextensionv2)
235+
# [Azure CLI](#tab/cli)
236+
[!INCLUDE [cli v2](../../includes/machine-learning-cli-v2.md)]
237+
235238

236239
When using the Azure CLI [extension 2.0 CLI for machine learning](how-to-configure-cli.md), use the following command to remove the private endpoint:
237240

@@ -273,7 +276,9 @@ To enable public access, use the following steps:
273276
>
274277
> Microsoft recommends using `public_network_access` to enable or disable public access to a workspace.
275278
276-
# [Azure CLI extension 2.0](#tab/azurecliextensionv2)
279+
# [Azure CLI](#tab/cli)
280+
[!INCLUDE [cli v2](../../includes/machine-learning-cli-v2.md)]
281+
277282

278283
When using the Azure CLI [extension 2.0 CLI preview for machine learning](how-to-configure-cli.md), use the `az ml update` command to enable `public_network_access` for the workspace:
279284

articles/machine-learning/v1/how-to-configure-private-link.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ ms.date: 08/29/2022
1515

1616
# Configure a private endpoint for an Azure Machine Learning workspace with SDK and CLI v1
1717

18-
[!INCLUDE [sdk v1](../../../includes/machine-learning-sdk-v1.md)]
19-
[!INCLUDE [cli v1](../../../includes/machine-learning-cli-v1.md)]
18+
[!INCLUDE [dev v1](../../../includes/machine-learning-dev-v1.md)]
2019

21-
> [!div class="op_single_selector" title1="Select the Azure Machine Learning SDK or CLI version you are using:"]
22-
> * [SDK v1](how-to-configure-private-link.md)
23-
> * [SDK v2 (current version)](../how-to-configure-private-link.md)
20+
> [!div class="op_single_selector" title1="Select the Azure Machine Learning version you are using:"]
21+
> * [CLI or SDK v1](how-to-configure-private-link.md)
22+
> * [CLI v2 (current version)](../how-to-configure-private-link.md)
2423
2524
In this document, you learn how to configure a private endpoint for your Azure Machine Learning workspace. For information on creating a virtual network for Azure Machine Learning, see [Virtual network isolation and privacy overview](how-to-network-security-overview.md).
2625

@@ -85,7 +84,9 @@ ws = Workspace.create(name='myworkspace',
8584
show_output=True)
8685
```
8786

88-
# [Azure CLI](#tab/azurecliextensionv1)
87+
# [Azure CLI](#tab/cli)
88+
[!INCLUDE [cli v1](../../../includes/machine-learning-cli-v1.md)]
89+
8990

9091
If you're using the Azure CLI [extension 1.0 for machine learning](reference-azure-machine-learning-cli.md), use the [az ml workspace create](/cli/azure/ml/workspace#az-ml-workspace-create) command. The following parameters for this command can be used to create a workspace with a private network, but it requires an existing virtual network:
9192

@@ -120,7 +121,7 @@ Use one of the following methods to add a private endpoint to an existing worksp
120121
>
121122
> If you have any existing compute targets associated with this workspace, and they are not behind the same virtual network tha the private endpoint is created in, they will not work.
122123
123-
# [Python1](#tab/python)
124+
# [Python](#tab/python)
124125

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

@@ -135,7 +136,8 @@ ws.add_private_endpoint(private_endpoint_config=pe, private_endpoint_auto_approv
135136

136137
For more information on the classes and methods used in this example, see [PrivateEndpointConfig](/python/api/azureml-core/azureml.core.privateendpointconfig) and [Workspace.add_private_endpoint](/python/api/azureml-core/azureml.core.workspace(class)#add-private-endpoint-private-endpoint-config--private-endpoint-auto-approval-true--location-none--show-output-true--tags-none-).
137138

138-
# [Azure CLI extension 1.0](#tab/azurecliextensionv1)
139+
# [Azure CLI](#tab/cli)
140+
[!INCLUDE [cli v1](../../../includes/machine-learning-cli-v1.md)]
139141

140142
The Azure CLI [extension 1.0 for machine learning](reference-azure-machine-learning-cli.md) provides the [az ml workspace private-endpoint add](/cli/azure/ml(v1)/workspace/private-endpoint#az-ml-workspace-private-endpoint-add) command.
141143

@@ -171,8 +173,7 @@ _, _, connection_name = ws.get_details()['privateEndpointConnections'][0]['id'].
171173
ws.delete_private_endpoint_connection(private_endpoint_connection_name=connection_name)
172174
```
173175

174-
# [Azure CLI extension 1.0](#tab/azurecliextensionv1)
175-
176+
# [Azure CLI](#tab/cli)
176177
[!INCLUDE [cli v1](../../../includes/machine-learning-cli-v1.md)]
177178

178179
The Azure CLI [extension 1.0 for machine learning](reference-azure-machine-learning-cli.md) provides the [az ml workspace private-endpoint delete](/cli/azure/ml(v1)/workspace/private-endpoint#az-ml-workspace-private-endpoint-delete) command.
@@ -214,7 +215,7 @@ ws = Workspace.from_config()
214215
ws.update(allow_public_access_when_behind_vnet=True)
215216
```
216217

217-
# [Azure CLI](#tab/azurecliextensionv1)
218+
# [Azure CLI](#tab/cli)
218219

219220
[!INCLUDE [cli v1](../../../includes/machine-learning-cli-v1.md)]
220221

0 commit comments

Comments
 (0)