Skip to content

Commit 934205a

Browse files
Update online-endpoints-managed-identity-sai.ipynb (#3656)
* Update online-endpoints-managed-identity-sai.ipynb * Update online-endpoints-managed-identity-uai.ipynb * update EOL images --------- Co-authored-by: kshitij-microsoft <[email protected]> Co-authored-by: Kshitij Chawla <[email protected]>
1 parent 76c34dd commit 934205a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

sdk/python/endpoints/online/managed/managed-identities/online-endpoints-managed-identity-sai.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
" ),\n",
177177
" environment=Environment(\n",
178178
" conda_file=\"../../model-1/environment/conda-managedidentity.yml\",\n",
179-
" image=\"mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:latest\",\n",
179+
" image=\"mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04:latest\",\n",
180180
" ),\n",
181181
" instance_type=\"Standard_DS3_v2\",\n",
182182
" instance_count=1,\n",
@@ -401,7 +401,7 @@
401401
"outputs": [],
402402
"source": [
403403
"from azure.mgmt.authorization import AuthorizationManagementClient\n",
404-
"from azure.mgmt.authorization.v2018_01_01_preview.models import RoleDefinition\n",
404+
"from azure.mgmt.authorization.models import RoleDefinition\n",
405405
"import uuid\n",
406406
"\n",
407407
"role_definition_client = AuthorizationManagementClient(\n",
@@ -426,7 +426,7 @@
426426
},
427427
"outputs": [],
428428
"source": [
429-
"from azure.mgmt.authorization.v2020_10_01_preview.models import (\n",
429+
"from azure.mgmt.authorization.models import (\n",
430430
" RoleAssignment,\n",
431431
" RoleAssignmentCreateParameters,\n",
432432
")\n",

sdk/python/endpoints/online/managed/managed-identities/online-endpoints-managed-identity-uai.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
" ),\n",
180180
" environment=Environment(\n",
181181
" conda_file=\"../../model-1/environment/conda-managedidentity.yml\",\n",
182-
" image=\"mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:latest\",\n",
182+
" image=\"mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04:latest\",\n",
183183
" ),\n",
184184
" instance_type=\"Standard_DS3_v2\",\n",
185185
" instance_count=1,\n",
@@ -481,7 +481,7 @@
481481
"outputs": [],
482482
"source": [
483483
"from azure.mgmt.authorization import AuthorizationManagementClient\n",
484-
"from azure.mgmt.authorization.v2018_01_01_preview.models import RoleDefinition\n",
484+
"from azure.mgmt.authorization.models import RoleDefinition\n",
485485
"import uuid\n",
486486
"\n",
487487
"role_definition_client = AuthorizationManagementClient(\n",
@@ -506,7 +506,7 @@
506506
},
507507
"outputs": [],
508508
"source": [
509-
"from azure.mgmt.authorization.v2020_10_01_preview.models import (\n",
509+
"from azure.mgmt.authorization.models import (\n",
510510
" RoleAssignment,\n",
511511
" RoleAssignmentCreateParameters,\n",
512512
")\n",

0 commit comments

Comments
 (0)