Create

pt.tecnico.dsi.openstack.keystone.models.Project$.Create
case class Create(name: String, description: String, domainId: Option[String], isDomain: Boolean, enabled: Boolean, parentId: Option[String], tags: List[String])

Options to create a Project

Value parameters

description

The description of the project.

domainId

The ID of the domain for the project. For projects acting as a domain, the domainId must not be specified, it will be generated by the Identity service implementation. For regular projects, if domainId is not specified, but parentId is specified, then the domain ID of the parent will be used. If neither domainId or parentId is specified, the Identity service implementation will default to the domain to which the client’s token is scoped. If both domainId and parentId are specified, and they do not indicate the same domain, an Bad Request (400) will be returned.

enabled

If set to true, project is enabled. If set to false, project is disabled.

isDomain

Indicates whether the project also acts as a domain. If set to true, this project acts as both a project and domain. As a domain, the project provides a name space in which you can create users, groups, and other projects. If set to false, this project behaves as a regular project that contains only resources. You cannot update this parameter after you create the project.

name

The name of the project, which must be unique within the owning domain. A project can have the same name as its domain.

parentId

The ID of the parent of the project. If specified on project creation, this places the project within a hierarchy and implicitly defines the owning domain, which will be the same domain as the parent specified. If parentId is not specified and isDomain is false, then the project will use its owning domain as its parent. If isDomain is true (i.e. the project is acting as a domain), then parentId must not specified (or if it is, it must be null) since domains have no parents. parentId is immutable, and can’t be updated after the project is created - hence a project cannot be moved within the hierarchy.

tags

A list of simple strings assigned to a project. Tags can be used to classify projects into groups.

Attributes

Source
Project.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product