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

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

There is a newer version: 0.0.24-core.0.3
Show newest version
package besom.api.ngrok

final case class SshCertificateAuthorityArgs private(
  description: besom.types.Output[scala.Option[String]],
  ellipticCurve: besom.types.Output[scala.Option[String]],
  keySize: besom.types.Output[scala.Option[Int]],
  keyType: besom.types.Output[scala.Option[String]],
  metadata: besom.types.Output[scala.Option[String]],
  privateKeyType: besom.types.Output[scala.Option[String]],
  publicKey: besom.types.Output[scala.Option[String]]
)

object SshCertificateAuthorityArgs:
  def apply(
    description: besom.types.Input.Optional[String] = scala.None,
    ellipticCurve: besom.types.Input.Optional[String] = scala.None,
    keySize: besom.types.Input.Optional[Int] = scala.None,
    keyType: besom.types.Input.Optional[String] = scala.None,
    metadata: besom.types.Input.Optional[String] = scala.None,
    privateKeyType: besom.types.Input.Optional[String] = scala.None,
    publicKey: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): SshCertificateAuthorityArgs =
    new SshCertificateAuthorityArgs(
      description = description.asOptionOutput(isSecret = false),
      ellipticCurve = ellipticCurve.asOptionOutput(isSecret = false),
      keySize = keySize.asOptionOutput(isSecret = false),
      keyType = keyType.asOptionOutput(isSecret = false),
      metadata = metadata.asOptionOutput(isSecret = false),
      privateKeyType = privateKeyType.asOptionOutput(isSecret = false),
      publicKey = publicKey.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[SshCertificateAuthorityArgs] =
    besom.internal.Encoder.derived[SshCertificateAuthorityArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[SshCertificateAuthorityArgs] =
    besom.internal.ArgsEncoder.derived[SshCertificateAuthorityArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy