All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.vmmigration.v1.GetCloneJobArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.vmmigration.v1

final case class GetCloneJobArgs private(
  cloneJobId: besom.types.Output[String],
  location: besom.types.Output[String],
  migratingVmId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  sourceId: besom.types.Output[String]
)

object GetCloneJobArgs:
  def apply(
    cloneJobId: besom.types.Input[String],
    location: besom.types.Input[String],
    migratingVmId: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    sourceId: besom.types.Input[String]
  )(using besom.types.Context): GetCloneJobArgs =
    new GetCloneJobArgs(
      cloneJobId = cloneJobId.asOutput(isSecret = false),
      location = location.asOutput(isSecret = false),
      migratingVmId = migratingVmId.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      sourceId = sourceId.asOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[GetCloneJobArgs] =
    besom.internal.Encoder.derived[GetCloneJobArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetCloneJobArgs] =
    besom.internal.ArgsEncoder.derived[GetCloneJobArgs]






© 2015 - 2025 Weber Informatics LLC | Privacy Policy