mirror of
https://github.com/Azure/MachineLearningNotebooks.git
synced 2025-12-21 18:15:13 -05:00
quickstart added
This commit is contained in:
12
tutorials/get-started-day1/IDE-users/01-create-workspace.py
Normal file
12
tutorials/get-started-day1/IDE-users/01-create-workspace.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# 01-create-workspace.py
|
||||
from azureml.core import Workspace
|
||||
|
||||
# Example locations: 'westeurope' or 'eastus2' or 'westus2' or 'southeastasia'.
|
||||
ws = Workspace.create(name='<my_workspace_name>',
|
||||
subscription_id='<azure-subscription-id>',
|
||||
resource_group='<myresourcegroup>',
|
||||
create_resource_group=True,
|
||||
location='<NAME_OF_REGION>')
|
||||
|
||||
# write out the workspace details to a configuration file: .azureml/config.json
|
||||
ws.write_config(path='.azureml')
|
||||
Reference in New Issue
Block a user