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

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

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.compute.alpha

final case class RouterArgs private(
  bgp: besom.types.Output[scala.Option[besom.api.googlenative.compute.alpha.inputs.RouterBgpArgs]],
  bgpPeers: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.inputs.RouterBgpPeerArgs]]],
  description: besom.types.Output[scala.Option[String]],
  encryptedInterconnectRouter: besom.types.Output[scala.Option[Boolean]],
  interfaces: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.inputs.RouterInterfaceArgs]]],
  md5AuthenticationKeys: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.inputs.RouterMd5AuthenticationKeyArgs]]],
  name: besom.types.Output[scala.Option[String]],
  nats: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.inputs.RouterNatArgs]]],
  network: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  region: besom.types.Output[String],
  requestId: besom.types.Output[scala.Option[String]]
)

object RouterArgs:
  def apply(
    bgp: besom.types.Input.Optional[besom.api.googlenative.compute.alpha.inputs.RouterBgpArgs] = scala.None,
    bgpPeers: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.compute.alpha.inputs.RouterBgpPeerArgs]]] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    encryptedInterconnectRouter: besom.types.Input.Optional[Boolean] = scala.None,
    interfaces: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.compute.alpha.inputs.RouterInterfaceArgs]]] = scala.None,
    md5AuthenticationKeys: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.compute.alpha.inputs.RouterMd5AuthenticationKeyArgs]]] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    nats: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.compute.alpha.inputs.RouterNatArgs]]] = scala.None,
    network: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    region: besom.types.Input[String],
    requestId: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): RouterArgs =
    new RouterArgs(
      bgp = bgp.asOptionOutput(isSecret = false),
      bgpPeers = bgpPeers.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      encryptedInterconnectRouter = encryptedInterconnectRouter.asOptionOutput(isSecret = false),
      interfaces = interfaces.asOptionOutput(isSecret = false),
      md5AuthenticationKeys = md5AuthenticationKeys.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      nats = nats.asOptionOutput(isSecret = false),
      network = network.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      region = region.asOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy