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,12 +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",
|
||||
@@ -75,7 +75,8 @@
|
||||
"azdata_cell_guid": "70b9744f-eb59-44e8-9b35-db590ac4651d",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -102,7 +103,8 @@
|
||||
"azdata_cell_guid": "55bb2f96-6f7f-4aa0-9daf-d0f7f9d9243c",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -145,7 +147,8 @@
|
||||
"azdata_cell_guid": "dde9388b-f623-4d62-bb74-36a05f5d2ea3",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -177,7 +180,8 @@
|
||||
"azdata_cell_guid": "19ebeaf4-94c9-4d2b-bd9f-e3c6bf7f2dda",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -200,7 +204,8 @@
|
||||
"azdata_cell_guid": "f9e8ddee-aefa-4951-b767-b318d941d2cd",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -227,7 +232,8 @@
|
||||
"azdata_cell_guid": "6e085676-2cc5-4af8-819c-fa210244e6c3",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -255,7 +261,8 @@
|
||||
"azdata_cell_guid": "f29b439e-cf05-4c35-aa47-1482ccd653bf",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -283,7 +290,8 @@
|
||||
"azdata_cell_guid": "f9f5e4ec-82a5-45df-a408-ddb0fb21847c",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -334,7 +342,8 @@
|
||||
"azdata_cell_guid": "7ab2b3ec-0832-40b3-98c0-4aa87320e7ce",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -364,7 +373,8 @@
|
||||
"azdata_cell_guid": "c183c3e3-8699-4f29-993b-07bf848336e3",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -402,7 +412,8 @@
|
||||
"azdata_cell_guid": "c8590c65-b274-460d-9659-97e81d2fd3ea",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -433,7 +444,8 @@
|
||||
"azdata_cell_guid": "81a86ff6-5a83-48be-8be7-654d152eea89",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -452,7 +464,7 @@
|
||||
"cell_type": "code",
|
||||
"source": [
|
||||
"from IPython.display import *\n",
|
||||
"connectionParameter = '{\"serverName\":\"' + f'{ip_address},{sql_port}' + '\",\"providerName\":\"MSSQL\",\"authenticationType\":\"SqlLogin\",\"userName\": \"sa\",\"password\":' + json.dumps(sa_password) + '}'\n",
|
||||
"connectionParameter = '{\"serverName\":\"' + f'{ip_address},{sql_port}' + '\",\"providerName\":\"MSSQL\",\"authenticationType\":\"SqlLogin\",\"userName\": \"sa\",\"password\":' + json.dumps(sa_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>'))"
|
||||
],
|
||||
@@ -460,7 +472,8 @@
|
||||
"azdata_cell_guid": "8bc29cce-96a7-4a78-89af-5c73a6431c24",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -477,7 +490,8 @@
|
||||
"azdata_cell_guid": "8b74ac43-a871-4d28-832d-e6da586f6d3a",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
|
||||
@@ -2,12 +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",
|
||||
@@ -75,7 +75,8 @@
|
||||
"azdata_cell_guid": "70b9744f-eb59-44e8-9b35-db590ac4651d",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -102,7 +103,8 @@
|
||||
"azdata_cell_guid": "55bb2f96-6f7f-4aa0-9daf-d0f7f9d9243c",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -145,7 +147,8 @@
|
||||
"azdata_cell_guid": "dde9388b-f623-4d62-bb74-36a05f5d2ea3",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -177,7 +180,8 @@
|
||||
"azdata_cell_guid": "19ebeaf4-94c9-4d2b-bd9f-e3c6bf7f2dda",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -200,7 +204,8 @@
|
||||
"azdata_cell_guid": "f9e8ddee-aefa-4951-b767-b318d941d2cd",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -227,7 +232,8 @@
|
||||
"azdata_cell_guid": "6e085676-2cc5-4af8-819c-fa210244e6c3",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -255,7 +261,8 @@
|
||||
"azdata_cell_guid": "f29b439e-cf05-4c35-aa47-1482ccd653bf",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -283,7 +290,8 @@
|
||||
"azdata_cell_guid": "f9f5e4ec-82a5-45df-a408-ddb0fb21847c",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -334,7 +342,8 @@
|
||||
"azdata_cell_guid": "7ab2b3ec-0832-40b3-98c0-4aa87320e7ce",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -364,7 +373,8 @@
|
||||
"azdata_cell_guid": "c183c3e3-8699-4f29-993b-07bf848336e3",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -402,7 +412,8 @@
|
||||
"azdata_cell_guid": "c8590c65-b274-460d-9659-97e81d2fd3ea",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -433,7 +444,8 @@
|
||||
"azdata_cell_guid": "81a86ff6-5a83-48be-8be7-654d152eea89",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -452,7 +464,7 @@
|
||||
"cell_type": "code",
|
||||
"source": [
|
||||
"from IPython.display import *\n",
|
||||
"connectionParameter = '{\"serverName\":\"' + f'{ip_address},{sql_port}' + '\",\"providerName\":\"MSSQL\",\"authenticationType\":\"SqlLogin\",\"userName\": \"sa\",\"password\":' + json.dumps(sa_password) + '}'\n",
|
||||
"connectionParameter = '{\"serverName\":\"' + f'{ip_address},{sql_port}' + '\",\"providerName\":\"MSSQL\",\"authenticationType\":\"SqlLogin\",\"userName\": \"sa\",\"password\":' + json.dumps(sa_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>'))"
|
||||
],
|
||||
@@ -460,7 +472,8 @@
|
||||
"azdata_cell_guid": "8bc29cce-96a7-4a78-89af-5c73a6431c24",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -477,7 +490,8 @@
|
||||
"azdata_cell_guid": "8b74ac43-a871-4d28-832d-e6da586f6d3a",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
@@ -72,7 +73,8 @@
|
||||
"azdata_cell_guid": "70b9744f-eb59-44e8-9b35-db590ac4651d",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -99,7 +101,8 @@
|
||||
"azdata_cell_guid": "55bb2f96-6f7f-4aa0-9daf-d0f7f9d9243c",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -137,7 +140,8 @@
|
||||
"azdata_cell_guid": "dde9388b-f623-4d62-bb74-36a05f5d2ea3",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -162,7 +166,8 @@
|
||||
],
|
||||
"metadata": {
|
||||
"azdata_cell_guid": "19ebeaf4-94c9-4d2b-bd9f-e3c6bf7f2dda",
|
||||
"tags": []
|
||||
"tags": [],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -185,7 +190,8 @@
|
||||
"azdata_cell_guid": "f9e8ddee-aefa-4951-b767-b318d941d2cd",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -212,7 +218,8 @@
|
||||
"azdata_cell_guid": "6e085676-2cc5-4af8-819c-fa210244e6c3",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -243,7 +250,8 @@
|
||||
"azdata_cell_guid": "38798c56-b2a0-4af8-b39e-5e26f3c79aeb",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -294,7 +302,8 @@
|
||||
"azdata_cell_guid": "7ab2b3ec-0832-40b3-98c0-4aa87320e7ce",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -325,7 +334,8 @@
|
||||
"azdata_cell_guid": "81a86ff6-5a83-48be-8be7-654d152eea89",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -347,7 +357,7 @@
|
||||
"if ip_address == \"\":\n",
|
||||
" print('Connect to Azure SQL Edge instance feature not available because device ip address is not provided')\n",
|
||||
"else:\n",
|
||||
" connectionParameter = '{\"serverName\":\"' + f'{ip_address},{sql_port}' + '\",\"providerName\":\"MSSQL\",\"authenticationType\":\"SqlLogin\",\"userName\": \"sa\",\"password\":' + json.dumps(sa_password) + '}'\n",
|
||||
" connectionParameter = '{\"serverName\":\"' + f'{ip_address},{sql_port}' + '\",\"providerName\":\"MSSQL\",\"authenticationType\":\"SqlLogin\",\"userName\": \"sa\",\"password\":' + json.dumps(sa_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>'))"
|
||||
],
|
||||
@@ -355,7 +365,8 @@
|
||||
"azdata_cell_guid": "8bc29cce-96a7-4a78-89af-5c73a6431c24",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
@@ -372,7 +383,8 @@
|
||||
"azdata_cell_guid": "e9d4188e-11c8-4aa5-8320-c3d0f6d023b2",
|
||||
"tags": [
|
||||
"hide_input"
|
||||
]
|
||||
],
|
||||
"language": "python"
|
||||
},
|
||||
"outputs": [],
|
||||
"execution_count": null
|
||||
|
||||
Reference in New Issue
Block a user