
src.apigee.v1.TargetServerArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.apigee.v1
final case class TargetServerArgs private(
description: besom.types.Output[scala.Option[String]],
environmentId: besom.types.Output[String],
host: besom.types.Output[String],
isEnabled: besom.types.Output[scala.Option[Boolean]],
name: besom.types.Output[scala.Option[String]],
organizationId: besom.types.Output[String],
port: besom.types.Output[Int],
protocol: besom.types.Output[scala.Option[besom.api.googlenative.apigee.v1.enums.TargetServerProtocol]],
sSLInfo: besom.types.Output[scala.Option[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1TlsInfoArgs]]
)
object TargetServerArgs:
def apply(
description: besom.types.Input.Optional[String] = scala.None,
environmentId: besom.types.Input[String],
host: besom.types.Input[String],
isEnabled: besom.types.Input.Optional[Boolean] = scala.None,
name: besom.types.Input.Optional[String] = scala.None,
organizationId: besom.types.Input[String],
port: besom.types.Input[Int],
protocol: besom.types.Input.Optional[besom.api.googlenative.apigee.v1.enums.TargetServerProtocol] = scala.None,
sSLInfo: besom.types.Input.Optional[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1TlsInfoArgs] = scala.None
)(using besom.types.Context): TargetServerArgs =
new TargetServerArgs(
description = description.asOptionOutput(isSecret = false),
environmentId = environmentId.asOutput(isSecret = false),
host = host.asOutput(isSecret = false),
isEnabled = isEnabled.asOptionOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
organizationId = organizationId.asOutput(isSecret = false),
port = port.asOutput(isSecret = false),
protocol = protocol.asOptionOutput(isSecret = false),
sSLInfo = sSLInfo.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[TargetServerArgs] =
besom.internal.Encoder.derived[TargetServerArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[TargetServerArgs] =
besom.internal.ArgsEncoder.derived[TargetServerArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy