@@ -55,9 +55,11 @@ az network private-endpoint create \
55
55
--name <private-endpoint-name> \
56
56
--vnet-name <vnet-name> \
57
57
--subnet <subnet-name> \
58
- --private-connection-resource-id "/subscriptions/<subscription>/resourceGroups/<resource-group-name>/providers/Microsoft.MachineLearningServices/workspaces/<workspace-name>" \
58
+ --private-connection-resource-id "/subscriptions/<subscription-id >/resourceGroups/<resource-group-name>/providers/Microsoft.MachineLearningServices/workspaces/<workspace-name>" \
59
59
--group-id amlworkspace \
60
- --connection-name workspace -l <location>
60
+ --connection-name workspace \
61
+ --location <location> \
62
+ --resource-group <resource-group-name>
61
63
```
62
64
63
65
To create the private DNS zone entries for the workspace, use the following commands:
@@ -127,9 +129,11 @@ az network private-endpoint create \
127
129
--name <private-endpoint-name> \
128
130
--vnet-name <vnet-name> \
129
131
--subnet <subnet-name> \
130
- --private-connection-resource-id "/subscriptions/<subscription>/resourceGroups/<resource-group-name>/providers/Microsoft.MachineLearningServices/workspaces/<workspace-name>" \
132
+ --private-connection-resource-id "/subscriptions/<subscription-id >/resourceGroups/<resource-group-name>/providers/Microsoft.MachineLearningServices/workspaces/<workspace-name>" \
131
133
--group-id amlworkspace \
132
- --connection-name workspace -l <location>
134
+ --connection-name workspace \
135
+ --location <location> \
136
+ --resource-group <resource-group-name>
133
137
```
134
138
135
139
To create the private DNS zone entries for the workspace, use the following commands:
0 commit comments