project_create function

Create a project

Create a project

project_create(name, purpose, description = NULL, environment = NULL, ...)

Arguments

  • name: (character) Name of the project. required
  • purpose: (character) The purpose of the project. The maximum length is 255 characters. For examples of valid purposes, see the "Purposes" section. required
  • description: (character) The description of the project. The maximum length is 255 characters. optional
  • environment: (character) The environment of the project's resources. optional
  • ...: Additional options passed down to POST

Returns

A project object

Purposes

The purpose attribute can have one of the following values:

  • Just trying out DigitalOcean
  • Class project / Educational purposes
  • Website or blog
  • Web Application
  • Service or API
  • Mobile Application
  • Machine learning / AI / Data processing
  • IoT
  • Operational / Developer tooling

If specify another value for purpose, for example "your custom purpose", your purpose will be stored as Other: your custom purpose

Environments

The environment attribute must have one of the following values:

  • Development
  • Staging
  • Production

If another value is specified, a 400 Bad Request is returned.

Examples

## Not run: project_create(name = "venus", purpose = "Web Application") ## End(Not run)
  • Maintainer: Mauricio Vargas
  • License: Apache License (>= 2)
  • Last published: 2023-04-19