powered by
Returns an AmlCompute or AksCompute object for an existing compute resource. If the compute target doesn't exist, the function will return NULL.
AmlCompute
AksCompute
NULL
get_compute(workspace, cluster_name)
The Workspace object.
Workspace
A string of the name of the cluster.
The AmlCompute or AksCompute object.
# NOT RUN { ws <- load_workspace_from_config() compute_target <- get_compute(ws, cluster_name = 'mycluster') # }
Run the code above in your browser using DataLab