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

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

The newest version!
package besom.api.googlenative.compute.alpha

final case class InterconnectArgs private(
  adminEnabled: besom.types.Output[scala.Option[Boolean]],
  customerName: besom.types.Output[scala.Option[String]],
  description: besom.types.Output[scala.Option[String]],
  interconnectType: besom.types.Output[scala.Option[besom.api.googlenative.compute.alpha.enums.InterconnectInterconnectType]],
  labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  linkType: besom.types.Output[scala.Option[besom.api.googlenative.compute.alpha.enums.InterconnectLinkType]],
  location: besom.types.Output[scala.Option[String]],
  macsec: besom.types.Output[scala.Option[besom.api.googlenative.compute.alpha.inputs.InterconnectMacsecArgs]],
  macsecEnabled: besom.types.Output[scala.Option[Boolean]],
  name: besom.types.Output[scala.Option[String]],
  nocContactEmail: besom.types.Output[scala.Option[String]],
  project: besom.types.Output[scala.Option[String]],
  remoteLocation: besom.types.Output[scala.Option[String]],
  requestId: besom.types.Output[scala.Option[String]],
  requestedFeatures: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.enums.InterconnectRequestedFeaturesItem]]],
  requestedLinkCount: besom.types.Output[scala.Option[Int]]
)

object InterconnectArgs:
  def apply(
    adminEnabled: besom.types.Input.Optional[Boolean] = scala.None,
    customerName: besom.types.Input.Optional[String] = scala.None,
    description: besom.types.Input.Optional[String] = scala.None,
    interconnectType: besom.types.Input.Optional[besom.api.googlenative.compute.alpha.enums.InterconnectInterconnectType] = scala.None,
    labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    linkType: besom.types.Input.Optional[besom.api.googlenative.compute.alpha.enums.InterconnectLinkType] = scala.None,
    location: besom.types.Input.Optional[String] = scala.None,
    macsec: besom.types.Input.Optional[besom.api.googlenative.compute.alpha.inputs.InterconnectMacsecArgs] = scala.None,
    macsecEnabled: besom.types.Input.Optional[Boolean] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    nocContactEmail: besom.types.Input.Optional[String] = scala.None,
    project: besom.types.Input.Optional[String] = scala.None,
    remoteLocation: besom.types.Input.Optional[String] = scala.None,
    requestId: besom.types.Input.Optional[String] = scala.None,
    requestedFeatures: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.compute.alpha.enums.InterconnectRequestedFeaturesItem]]] = scala.None,
    requestedLinkCount: besom.types.Input.Optional[Int] = scala.None
  )(using besom.types.Context): InterconnectArgs =
    new InterconnectArgs(
      adminEnabled = adminEnabled.asOptionOutput(isSecret = false),
      customerName = customerName.asOptionOutput(isSecret = false),
      description = description.asOptionOutput(isSecret = false),
      interconnectType = interconnectType.asOptionOutput(isSecret = false),
      labels = labels.asOptionOutput(isSecret = false),
      linkType = linkType.asOptionOutput(isSecret = false),
      location = location.asOptionOutput(isSecret = false),
      macsec = macsec.asOptionOutput(isSecret = false),
      macsecEnabled = macsecEnabled.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      nocContactEmail = nocContactEmail.asOptionOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      remoteLocation = remoteLocation.asOptionOutput(isSecret = false),
      requestId = requestId.asOptionOutput(isSecret = false),
      requestedFeatures = requestedFeatures.asOptionOutput(isSecret = false),
      requestedLinkCount = requestedLinkCount.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy