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": "64f3e119-408a-4b61-bce4-68114e2a727c",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -90,7 +92,8 @@
"azdata_cell_guid": "dd665751-efbc-4089-af1b-0fa456a4fb58",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -127,7 +130,8 @@
"azdata_cell_guid": "a2e06bb2-23f3-4fc7-81bc-d38e250b24c0",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -151,7 +155,8 @@
"azdata_cell_guid": "d75ae87c-2e59-4cf5-b61e-43f4bf8ac680",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -183,7 +188,8 @@
"azdata_cell_guid": "73585d5d-0c8c-4786-92f2-7e0fd2653f9e",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -207,7 +213,8 @@
"azdata_cell_guid": "5e30c110-a631-4c9b-8485-cd64d34c54d5",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -226,7 +233,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 SQL Server</font></a><br/>'))\n",
"display(HTML('<br/><span style=\"color:red\"><font size=\"2\">NOTE: The SQL Server password is included in this link, you may want to clear the results of this code cell before saving the notebook.</font></span>'))"
],
@@ -234,7 +241,8 @@
"azdata_cell_guid": "182517d3-f6d6-4ecc-b2cb-4c21a0f23b4e",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
@@ -261,10 +269,11 @@
"azdata_cell_guid": "1593a0a6-7009-4d0b-9f3f-ac7ed6d2bb1e",
"tags": [
"hide_input"
]
],
"language": "python"
},
"outputs": [],
"execution_count": null
}
]
}
}