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

src.compute.alpha.GlobalPublicDelegatedPrefixArgs.scala Maven / Gradle / Ivy

package besom.api.googlenative.compute.alpha

final case class GlobalPublicDelegatedPrefixArgs private(
  allocatablePrefixLength: besom.types.Output[scala.Option[Int]],
  description: besom.types.Output[scala.Option[String]],
  ipCidrRange: besom.types.Output[scala.Option[String]],
  isLiveMigration: besom.types.Output[scala.Option[Boolean]],
  mode: besom.types.Output[scala.Option[besom.api.googlenative.compute.alpha.enums.GlobalPublicDelegatedPrefixMode]],
  name: besom.types.Output[scala.Option[String]],
  parentPrefix: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  publicDelegatedSubPrefixs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.inputs.PublicDelegatedPrefixPublicDelegatedSubPrefixArgs]]],
  requestId: besom.types.Output[scala.Option[String]]
)

object GlobalPublicDelegatedPrefixArgs:
  def apply(
    allocatablePrefixLength: besom.types.Input.Optional[Int] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    ipCidrRange: besom.types.Input.Optional[String] = scala.None,
    isLiveMigration: besom.types.Input.Optional[Boolean] = scala.None,
    mode: besom.types.Input.Optional[besom.api.googlenative.compute.alpha.enums.GlobalPublicDelegatedPrefixMode] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    parentPrefix: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    publicDelegatedSubPrefixs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.compute.alpha.inputs.PublicDelegatedPrefixPublicDelegatedSubPrefixArgs]]] = scala.None,
    requestId: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GlobalPublicDelegatedPrefixArgs =
    new GlobalPublicDelegatedPrefixArgs(
      allocatablePrefixLength = allocatablePrefixLength.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      ipCidrRange = ipCidrRange.asOptionOutput(isSecret = false),
      isLiveMigration = isLiveMigration.asOptionOutput(isSecret = false),
      mode = mode.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      parentPrefix = parentPrefix.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      publicDelegatedSubPrefixs = publicDelegatedSubPrefixs.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy