src.index.TlsCertificateArgs.scala Maven / Gradle / Ivy
package besom.api.ngrok
final case class TlsCertificateArgs private(
certificatePem: besom.types.Output[String],
description: besom.types.Output[scala.Option[String]],
metadata: besom.types.Output[scala.Option[String]],
privateKeyPem: besom.types.Output[String],
subjectAlternativeNames: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.inputs.TlsCertificateSubjectAlternativeNameArgs]]]
)
object TlsCertificateArgs:
def apply(
certificatePem: besom.types.Input[String],
description: besom.types.Input.Optional[String] = scala.None,
metadata: besom.types.Input.Optional[String] = scala.None,
privateKeyPem: besom.types.Input[String],
subjectAlternativeNames: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.ngrok.inputs.TlsCertificateSubjectAlternativeNameArgs]]] = scala.None
)(using besom.types.Context): TlsCertificateArgs =
new TlsCertificateArgs(
certificatePem = certificatePem.asOutput(isSecret = false),
description = description.asOptionOutput(isSecret = false),
metadata = metadata.asOptionOutput(isSecret = false),
privateKeyPem = privateKeyPem.asOutput(isSecret = false),
subjectAlternativeNames = subjectAlternativeNames.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[TlsCertificateArgs] =
besom.internal.Encoder.derived[TlsCertificateArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[TlsCertificateArgs] =
besom.internal.ArgsEncoder.derived[TlsCertificateArgs]
© 2015 - 2024 Weber Informatics LLC | Privacy Policy