fix resource deployment notebooks (#21096)

This commit is contained in:
Alan Ren
2022-11-03 13:12:07 -07:00
committed by GitHub
parent d268b9948b
commit 5f16251ca7
9 changed files with 312 additions and 224 deletions

View File

@@ -2,11 +2,12 @@
"metadata": {
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
"display_name": "Python 3 (ipykernel)",
"language": "python"
},
"language_info": {
"name": "python",
"version": "3.6.6",
"version": "3.8.10",
"mimetype": "text/x-python",
"codemirror_mode": {
"name": "ipython",
@@ -65,7 +66,8 @@
"azdata_cell_guid": "a0a8cd9b-ab0f-4ba2-b568-0c68d950c8bf",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -90,7 +92,8 @@
"azdata_cell_guid": "5a253372-1a98-4b07-a3e0-9ae5f47cb0a5",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -143,7 +146,8 @@
"azdata_cell_guid": "c0af4e4e-4232-4a67-9a21-05a4d54fd0f4",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -170,7 +174,8 @@
"azdata_cell_guid": "58b2156b-da0c-47d5-9706-4bd9f630d28b",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -195,7 +200,8 @@
"azdata_cell_guid": "4cdcf011-06fd-4df4-bd20-3024d0a5ab9d",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -219,7 +225,8 @@
"azdata_cell_guid": "345dc24f-0028-47b4-b35b-aaac047b7a62",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -238,7 +245,7 @@
"cell_type": "code",
"source": [
"from IPython.display import *\n",
"connectionParameter = '{\"serverName\":\"localhost,' + sql_port + '\",\"providerName\":\"MSSQL\",\"authenticationType\":\"SqlLogin\",\"userName\":\"sa\",\"password\":' + json.dumps(sql_password) + '}'\n",
"connectionParameter = '{\"serverName\":\"localhost,' + sql_port + '\",\"providerName\":\"MSSQL\",\"authenticationType\":\"SqlLogin\",\"userName\":\"sa\",\"password\":' + json.dumps(sql_password) + ',\"options\": {\"trustServerCertificate\":true}}'\n",
"display(HTML('<br/><a href=\"command:azdata.connect?' + html.escape(connectionParameter)+'\"><font size=\"3\">Click here to connect to the Azure SQL Edge instance</font></a><br/>'))\n",
"display(HTML('<br/><span style=\"color:red\"><font size=\"2\">NOTE: The Azure SQL Edge instance password is included in this link, you may want to clear the results of this code cell before saving the notebook.</font></span>'))"
],
@@ -246,7 +253,8 @@
"azdata_cell_guid": "187a0067-a04c-4afb-a684-3103bb4522ae",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -273,7 +281,8 @@
"azdata_cell_guid": "9b6c34c2-7a47-43f5-971d-ce9768fec587",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null