get_deployment_id_from_name: Get a deployment_id from a name and type for a given...

View source: R/deployment.R

get_deployment_id_from_nameR Documentation

Get a deployment_id from a name and type for a given project_id. If duplicated name, the first deployment_id that match it is retrieved.

Description

Get a deployment_id from a name and type for a given project_id. If duplicated name, the first deployment_id that match it is retrieved.

Usage

get_deployment_id_from_name(project_id, name, type)

Arguments

project_id

id of the project, can be obtained with get_projects().

name

name of the deployment we are searching its id from.

type

type of the deployment to be retrieved among "model" or "app".

Value

character - id of the deployment if found.


previsionio documentation built on March 18, 2022, 6:41 p.m.