
src.vmmigration.v1.GetMigratingVmArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.vmmigration.v1
final case class GetMigratingVmArgs private(
location: besom.types.Output[String],
migratingVmId: besom.types.Output[String],
project: besom.types.Output[scala.Option[String]],
sourceId: besom.types.Output[String],
view: besom.types.Output[scala.Option[String]]
)
object GetMigratingVmArgs:
def apply(
location: besom.types.Input[String],
migratingVmId: besom.types.Input[String],
project: besom.types.Input.Optional[String] = scala.None,
sourceId: besom.types.Input[String],
view: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): GetMigratingVmArgs =
new GetMigratingVmArgs(
location = location.asOutput(isSecret = false),
migratingVmId = migratingVmId.asOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
sourceId = sourceId.asOutput(isSecret = false),
view = view.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetMigratingVmArgs] =
besom.internal.Encoder.derived[GetMigratingVmArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetMigratingVmArgs] =
besom.internal.ArgsEncoder.derived[GetMigratingVmArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy