mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
fix resource deployment notebooks (#21096)
This commit is contained in:
@@ -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",
|
||||
@@ -62,7 +63,8 @@
|
||||
"azdata_cell_guid": "a0a8cd9b-ab0f-4ba2-b568-0c68d950c8bf",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -124,7 +126,8 @@
|
||||
"azdata_cell_guid": "c0af4e4e-4232-4a67-9a21-05a4d54fd0f4",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -162,7 +165,8 @@
|
||||
"azdata_cell_guid": "aadaa458-8c23-4b7a-a87e-cb2ee82046cf",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -187,7 +191,8 @@
|
||||
"azdata_cell_guid": "f3f3946b-d950-477d-83d6-8bae320f619f",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -211,7 +216,8 @@
|
||||
"azdata_cell_guid": "8b2874af-de7e-4a0a-9cad-3be397eaa3e9",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -238,7 +244,8 @@
|
||||
"azdata_cell_guid": "58b2156b-da0c-47d5-9706-4bd9f630d28b",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -262,7 +269,8 @@
|
||||
"azdata_cell_guid": "4cdcf011-06fd-4df4-bd20-3024d0a5ab9d",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -286,7 +294,8 @@
|
||||
"azdata_cell_guid": "345dc24f-0028-47b4-b35b-aaac047b7a62",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -305,7 +314,7 @@
|
||||
"cell_type": "code",
|
||||
"source": [
|
||||
"from IPython.display import *\n",
|
||||
"connectionParameter = '{\"serverName\":\"' + ssh_target + ',' + sql_port + '\",\"providerName\":\"MSSQL\",\"authenticationType\":\"SqlLogin\",\"userName\":\"sa\",\"password\":' + json.dumps(sql_password) + '}'\n",
|
||||
"connectionParameter = '{\"serverName\":\"' + ssh_target + ',' + 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>'))"
|
||||
],
|
||||
@@ -313,7 +322,8 @@
|
||||
"azdata_cell_guid": "187a0067-a04c-4afb-a684-3103bb4522ae",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -340,7 +350,8 @@
|
||||
"azdata_cell_guid": "9b6c34c2-7a47-43f5-971d-ce9768fec587",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -354,7 +365,8 @@
|
||||
"azdata_cell_guid": "9f2c9d3a-b996-4977-81f5-05a79a2e0e12",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
|
||||
Reference in New Issue
Block a user