
src.vmwareengine.v1.LoggingServerArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.vmwareengine.v1
final case class LoggingServerArgs private(
hostname: besom.types.Output[String],
location: besom.types.Output[scala.Option[String]],
loggingServerId: besom.types.Output[String],
port: besom.types.Output[Int],
privateCloudId: besom.types.Output[String],
project: besom.types.Output[scala.Option[String]],
protocol: besom.types.Output[besom.api.googlenative.vmwareengine.v1.enums.LoggingServerProtocol],
requestId: besom.types.Output[scala.Option[String]],
sourceType: besom.types.Output[besom.api.googlenative.vmwareengine.v1.enums.LoggingServerSourceType]
)
object LoggingServerArgs:
def apply(
hostname: besom.types.Input[String],
location: besom.types.Input.Optional[String] = scala.None,
loggingServerId: besom.types.Input[String],
port: besom.types.Input[Int],
privateCloudId: besom.types.Input[String],
project: besom.types.Input.Optional[String] = scala.None,
protocol: besom.types.Input[besom.api.googlenative.vmwareengine.v1.enums.LoggingServerProtocol],
requestId: besom.types.Input.Optional[String] = scala.None,
sourceType: besom.types.Input[besom.api.googlenative.vmwareengine.v1.enums.LoggingServerSourceType]
)(using besom.types.Context): LoggingServerArgs =
new LoggingServerArgs(
hostname = hostname.asOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
loggingServerId = loggingServerId.asOutput(isSecret = false),
port = port.asOutput(isSecret = false),
privateCloudId = privateCloudId.asOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
protocol = protocol.asOutput(isSecret = false),
requestId = requestId.asOptionOutput(isSecret = false),
sourceType = sourceType.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[LoggingServerArgs] =
besom.internal.Encoder.derived[LoggingServerArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[LoggingServerArgs] =
besom.internal.ArgsEncoder.derived[LoggingServerArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy