get_deployment_id_from_name {previsionio} | R 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.
[Package previsionio version 11.7.0 Index]