pt.tecnico.dsi.vault.secretEngines.databases.models.Elasticsearch
RoleDefinition
Companion object RoleDefinition
case class RoleDefinition(runAs: List[String] = List.empty, cluster: List[String] = List.empty, global: Option[JsonObject] = Option.empty, indices: List[Indice] = List.empty, applications: List[Application] = List.empty, metadata: Option[JsonObject] = Option.empty) extends Product with Serializable
- runAs
A list of users that the owners of this role can impersonate. For more information, see Submitting requests on behalf of other users.
- cluster
A list of cluster privileges. These privileges define the cluster level actions that users with this role are able to execute.
- global
An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges. This field is optional.
- indices
A list of indices permissions entries.
- applications
A list of application privilege entries.
- metadata
Optional meta-data. Within the metadata object, keys that begin with _ are reserved for system usage.
- Source
- RoleDefinition.scala
- Alphabetic
- By Inheritance
- RoleDefinition
- Serializable
- Product
- Equals
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RoleDefinition(runAs: List[String] = List.empty, cluster: List[String] = List.empty, global: Option[JsonObject] = Option.empty, indices: List[Indice] = List.empty, applications: List[Application] = List.empty, metadata: Option[JsonObject] = Option.empty)
- runAs
A list of users that the owners of this role can impersonate. For more information, see Submitting requests on behalf of other users.
- cluster
A list of cluster privileges. These privileges define the cluster level actions that users with this role are able to execute.
- global
An object defining global privileges. A global privilege is a form of cluster privilege that is request-aware. Support for global privileges is currently limited to the management of application privileges. This field is optional.
- indices
A list of indices permissions entries.
- applications
A list of application privilege entries.
- metadata
Optional meta-data. Within the metadata object, keys that begin with _ are reserved for system usage.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (RoleDefinition, B)
- Implicit
- This member is added by an implicit conversion from RoleDefinition toArrowAssoc[RoleDefinition] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val applications: List[Application]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val cluster: List[String]
- def ensuring(cond: (RoleDefinition) => Boolean, msg: => Any): RoleDefinition
- Implicit
- This member is added by an implicit conversion from RoleDefinition toEnsuring[RoleDefinition] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (RoleDefinition) => Boolean): RoleDefinition
- Implicit
- This member is added by an implicit conversion from RoleDefinition toEnsuring[RoleDefinition] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): RoleDefinition
- Implicit
- This member is added by an implicit conversion from RoleDefinition toEnsuring[RoleDefinition] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): RoleDefinition
- Implicit
- This member is added by an implicit conversion from RoleDefinition toEnsuring[RoleDefinition] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from RoleDefinition toStringFormat[RoleDefinition] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val global: Option[JsonObject]
- val indices: List[Indice]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metadata: Option[JsonObject]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val runAs: List[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def →[B](y: B): (RoleDefinition, B)
- Implicit
- This member is added by an implicit conversion from RoleDefinition toArrowAssoc[RoleDefinition] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.