get_environment: Get an existing environment

View source: R/environment.R

get_environmentR Documentation

Get an existing environment

Description

Returns an Environment object for an existing environment in the workspace.

Usage

get_environment(workspace, name, version = NULL)

Arguments

workspace

The Workspace object.

name

A string of the name of the environment.

version

A string of the version of the environment.

Value

The Environment object.

Examples

## Not run: 
ws <- load_workspace_from_config()
env <- get_environment(ws, name = 'myenv', version = '1')

## End(Not run)

Azure/azureml-sdk-for-r documentation built on Sept. 21, 2022, 5:45 a.m.