get_compute: Get an existing compute cluster

Description Usage Arguments Value Examples

View source: R/compute.R

Description

Returns an AmlCompute or AksCompute object for an existing compute resource. If the compute target doesn't exist, the function will return NULL.

Usage

1
get_compute(workspace, cluster_name)

Arguments

workspace

The Workspace object.

cluster_name

A string of the name of the cluster.

Value

The AmlCompute or AksCompute object.

Examples

1
2
3
4
5
## Not run: 
ws <- load_workspace_from_config()
compute_target <- get_compute(ws, cluster_name = 'mycluster')

## End(Not run)

azuremlsdk documentation built on Oct. 23, 2020, 8:22 p.m.