Ultimate access to all questions.
You have the following Azure subscriptions and Azure Machine Learning service workspaces:
sub-id-1
, Workspace Name: ml-project
sub-id-2
, Workspace Name: ml-project
You need to obtain a reference to the ml-project
workspace in the sub-id-1
subscription.
Solution: Run the following Python code:
from azureml.core import Workspace
ws = Workspace.get(name='ml-project',
subscription_id='sub-id-1',
resource_group='rg1')
Does the solution meet the goal?