
src.backupdr.v1.ManagementServerArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.backupdr.v1
final case class ManagementServerArgs private(
description: besom.types.Output[scala.Option[String]],
etag: besom.types.Output[scala.Option[String]],
labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
location: besom.types.Output[scala.Option[String]],
managementServerId: besom.types.Output[String],
networks: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.backupdr.v1.inputs.NetworkConfigArgs]],
project: besom.types.Output[scala.Option[String]],
requestId: besom.types.Output[scala.Option[String]],
`type`: besom.types.Output[besom.api.googlenative.backupdr.v1.enums.ManagementServerType]
)
object ManagementServerArgs:
def apply(
description: besom.types.Input.Optional[String] = scala.None,
etag: besom.types.Input.Optional[String] = scala.None,
labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
location: besom.types.Input.Optional[String] = scala.None,
managementServerId: besom.types.Input[String],
networks: besom.types.Input[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.backupdr.v1.inputs.NetworkConfigArgs]]],
project: besom.types.Input.Optional[String] = scala.None,
requestId: besom.types.Input.Optional[String] = scala.None,
`type`: besom.types.Input[besom.api.googlenative.backupdr.v1.enums.ManagementServerType]
)(using besom.types.Context): ManagementServerArgs =
new ManagementServerArgs(
description = description.asOptionOutput(isSecret = false),
etag = etag.asOptionOutput(isSecret = false),
labels = labels.asOptionOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
managementServerId = managementServerId.asOutput(isSecret = false),
networks = networks.asOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
requestId = requestId.asOptionOutput(isSecret = false),
`type` = `type`.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[ManagementServerArgs] =
besom.internal.Encoder.derived[ManagementServerArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[ManagementServerArgs] =
besom.internal.ArgsEncoder.derived[ManagementServerArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy