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

src.index.IamUser.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai

final case class IamUser private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  address: besom.types.Output[String],
  authGrantsJson: besom.types.Output[String],
  city: besom.types.Output[scala.Option[String]],
  contactType: besom.types.Output[String],
  country: besom.types.Output[String],
  email: besom.types.Output[String],
  emailUpdatePending: besom.types.Output[Boolean],
  enableTfa: besom.types.Output[Boolean],
  firstName: besom.types.Output[String],
  jobTitle: besom.types.Output[scala.Option[String]],
  lastLogin: besom.types.Output[String],
  lastName: besom.types.Output[String],
  lock: besom.types.Output[scala.Option[Boolean]],
  mobilePhone: besom.types.Output[scala.Option[String]],
  passwordExpiredAfter: besom.types.Output[String],
  phone: besom.types.Output[scala.Option[String]],
  preferredLanguage: besom.types.Output[String],
  secondaryEmail: besom.types.Output[scala.Option[String]],
  sessionTimeout: besom.types.Output[Int],
  state: besom.types.Output[scala.Option[String]],
  tfaConfigured: besom.types.Output[Boolean],
  timeZone: besom.types.Output[String],
  userName: besom.types.Output[String],
  zipCode: besom.types.Output[scala.Option[String]]
) extends besom.CustomResource

object IamUser extends besom.ResourceCompanion[IamUser]:
  /** Resource constructor for IamUser. 
    * 
    * @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
    *        NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
    *        issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
    *        string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
    *
    * @param args [[IamUserArgs]] The configuration to use to create this resource. 
    *
    * @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource. 
    *        Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
    *  
    *        {{{
    *        val res = IamUser(
    *          "my-resource",
    *          IamUserArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: IamUserArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[IamUser] =
    ctx.readOrRegisterResource[IamUser, IamUserArgs]("akamai:index/iamUser:IamUser", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "akamai:index/iamUser:IamUser"

  given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[IamUser] =
    besom.internal.ResourceDecoder.derived[IamUser]

  given decoder(using besom.types.Context): besom.types.Decoder[IamUser] =
    besom.internal.Decoder.customResourceDecoder[IamUser]


  given outputOps: {} with
    extension(output: besom.types.Output[IamUser])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def address : besom.types.Output[String] = output.flatMap(_.address)
      def authGrantsJson : besom.types.Output[String] = output.flatMap(_.authGrantsJson)
      def city : besom.types.Output[scala.Option[String]] = output.flatMap(_.city)
      def contactType : besom.types.Output[String] = output.flatMap(_.contactType)
      def country : besom.types.Output[String] = output.flatMap(_.country)
      def email : besom.types.Output[String] = output.flatMap(_.email)
      def emailUpdatePending : besom.types.Output[Boolean] = output.flatMap(_.emailUpdatePending)
      def enableTfa : besom.types.Output[Boolean] = output.flatMap(_.enableTfa)
      def firstName : besom.types.Output[String] = output.flatMap(_.firstName)
      def jobTitle : besom.types.Output[scala.Option[String]] = output.flatMap(_.jobTitle)
      def lastLogin : besom.types.Output[String] = output.flatMap(_.lastLogin)
      def lastName : besom.types.Output[String] = output.flatMap(_.lastName)
      def lock : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.lock)
      def mobilePhone : besom.types.Output[scala.Option[String]] = output.flatMap(_.mobilePhone)
      def passwordExpiredAfter : besom.types.Output[String] = output.flatMap(_.passwordExpiredAfter)
      def phone : besom.types.Output[scala.Option[String]] = output.flatMap(_.phone)
      def preferredLanguage : besom.types.Output[String] = output.flatMap(_.preferredLanguage)
      def secondaryEmail : besom.types.Output[scala.Option[String]] = output.flatMap(_.secondaryEmail)
      def sessionTimeout : besom.types.Output[Int] = output.flatMap(_.sessionTimeout)
      def state : besom.types.Output[scala.Option[String]] = output.flatMap(_.state)
      def tfaConfigured : besom.types.Output[Boolean] = output.flatMap(_.tfaConfigured)
      def timeZone : besom.types.Output[String] = output.flatMap(_.timeZone)
      def userName : besom.types.Output[String] = output.flatMap(_.userName)
      def zipCode : besom.types.Output[scala.Option[String]] = output.flatMap(_.zipCode)





© 2015 - 2024 Weber Informatics LLC | Privacy Policy