All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sksamuel.elastic4s.requests.security.roles.CreateRole.scala Maven / Gradle / Ivy

There is a newer version: 8.15.4
Show newest version
package com.sksamuel.elastic4s.requests.security.roles

sealed trait RoleAction
case object CreateRole extends RoleAction
case object UpdateRole extends RoleAction

case class CreateOrUpdateRoleRequest(
	name: String,
	action: RoleAction,
	runAs: Seq[String]=Seq(),
	clusterPermissions: Seq[String]=Seq(),
	global: Option[GlobalPrivileges]=None,
	indices: Seq[IndexPrivileges]=Seq(),
	applications: Seq[ApplicationPrivileges]=Seq()
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy