get_runtimes: Get available runtimes on server

View source: R/get.R

get_runtimesR Documentation

Get available runtimes on server

Description

Get a table showing available versions of R, Python, Quarto, and Tensorflow on the Connect server.

Usage

get_runtimes(client, runtimes = NULL)

Arguments

client

A Connect object.

runtimes

Optional. A character vector of runtimes to include. Must be some combination of "r", "python", "quarto", and "tensorflow". Quarto is only supported on Connect >= 2021.08.0, and Tensorflow is only supported on Connect >= 2024.03.0.

Value

A tibble with columns for runtime, version, and cluster_name and image_name. Cluster name and image name are only meaningful on Connect instances running off-host execution.

Examples

## Not run: 
library(connectapi)
client <- connect()
get_runtimes(client, runtimes = c("r", "python", "tensorflow"))

## End(Not run)


rstudio/connectapi documentation built on Dec. 20, 2024, 1:48 p.m.