Ultimate access to all questions.
You are developing Python SDK v2 code to add a compute instance to an Azure Machine Learning workspace named workspace1
. The code must import all necessary modules, call the constructor for the ComputeInstance
class, and then add the instantiated compute instance to workspace1
.
Which method should you use to add the compute instance to the workspace?