Compare commits

..

4 Commits

Author SHA1 Message Date
vizhur
b06f5ce269 update samples from Release-41 as a part of SDK release 2020-03-13 21:57:04 +00:00
Harneet Virk
ed0ce9e895 Merge pull request #856 from Azure/release_update/Release-40
update samples from Release-40 as a part of  SDK release
2020-03-12 12:28:18 -07:00
vizhur
71053d705b update samples from Release-40 as a part of SDK release 2020-03-12 19:25:26 +00:00
Harneet Virk
77f98bf75f Merge pull request #852 from Azure/release_update_stable/Release-6
update samples from Release-6 as a part of 1.1.5 SDK stable release
2020-03-11 15:37:59 -06:00
5 changed files with 34 additions and 4 deletions

View File

@@ -103,7 +103,7 @@
"source": [
"import azureml.core\n",
"\n",
"print(\"This notebook was created using version 1.1.5rc0 of the Azure ML SDK\")\n",
"print(\"This notebook was created using version 1.1.5 of the Azure ML SDK\")\n",
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
]
},

View File

@@ -100,7 +100,7 @@
"\n",
"# Check core SDK version number\n",
"\n",
"print(\"This notebook was created using SDK version 1.1.5rc0, you are currently running version\", azureml.core.VERSION)"
"print(\"This notebook was created using SDK version 1.1.5, you are currently running version\", azureml.core.VERSION)"
]
},
{

View File

@@ -149,6 +149,20 @@
" ssh_port=22, \n",
" username=os.environ.get('hdiusername', '<ssh_username>'), \n",
" password=os.environ.get('hdipassword', '<my_password>'))\n",
"\n",
"# The following Azure regions do not support attaching a HDI Cluster using the public IP address of the HDI Cluster.\n",
"# Instead, use the Azure Resource Manager ID of the HDI Cluster with the resource_id parameter:\n",
"# US East\n",
"# US West 2\n",
"# US South Central\n",
"# The resource ID of the HDI Cluster can be constructed using the\n",
"# subscription ID, resource group name, and cluster name using the following string format:\n",
"# /subscriptions/<subscription_id>/resourceGroups/<resource_group>/providers/Microsoft.HDInsight/clusters/<cluster_name>. \n",
"# If in US East, US West 2, or US South Central, use the following instead:\n",
"# attach_config = HDInsightCompute.attach_configuration(resource_id='<resource_id>',\n",
"# ssh_port=22,\n",
"# username=os.environ.get('hdiusername', '<ssh_username>'),\n",
"# password=os.environ.get('hdipassword', '<my_password>'))\n",
" hdi_compute = ComputeTarget.attach(workspace=ws, \n",
" name='myhdi', \n",
" attach_configuration=attach_config)\n",

View File

@@ -266,7 +266,23 @@
" ssh_port=22,\n",
" username=username,\n",
" private_key_file='./.ssh/id_rsa')\n",
" attached_dsvm_compute = ComputeTarget.attach(workspace=ws,\n",
"\n",
"\n",
"# The following Azure regions do not support attaching a virtual machine using the public IP address of the VM.\n",
"# Instead, use the Azure Resource Manager ID of the VM with the resource_id parameter:\n",
"# US East\n",
"# US West 2\n",
"# US South Central\n",
"# The resource ID of the VM can be constructed using the\n",
"# subscription ID, resource group name, and VM name using the following string format:\n",
"# /subscriptions/<subscription_id>/resourceGroups/<resource_group>/providers/Microsoft.Compute/virtualMachines/<vm_name>. \n",
"# If in US East, US West 2, or US South Central, use the following instead:\n",
"# attach_config = RemoteCompute.attach_configuration(resource_id='<resource_id>',\n",
"# ssh_port=22,\n",
"# username='username',\n",
"# private_key_file='./.ssh/id_rsa')\n",
"\n",
" attached_dsvm_compute = ComputeTarget.attach(workspace=ws,\n",
" name=compute_target_name,\n",
" attach_configuration=attach_config)\n",
" attached_dsvm_compute.wait_for_completion(show_output=True)"

View File

@@ -102,7 +102,7 @@
"source": [
"import azureml.core\n",
"\n",
"print(\"This notebook was created using version 1.1.5rc0 of the Azure ML SDK\")\n",
"print(\"This notebook was created using version 1.1.5 of the Azure ML SDK\")\n",
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
]
},