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

src.container.v1.GetNodePoolArgs.scala Maven / Gradle / Ivy

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

final case class GetNodePoolArgs private(
  clusterId: besom.types.Output[String],
  location: besom.types.Output[String],
  nodePoolId: besom.types.Output[String],
  project: besom.types.Output[scala.Option[String]],
  projectId: besom.types.Output[scala.Option[String]],
  zone: besom.types.Output[scala.Option[String]]
)

object GetNodePoolArgs:
  def apply(
    clusterId: besom.types.Input[String],
    location: besom.types.Input[String],
    nodePoolId: besom.types.Input[String],
    project: besom.types.Input.Optional[String] = scala.None,
    projectId: besom.types.Input.Optional[String] = scala.None,
    zone: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): GetNodePoolArgs =
    new GetNodePoolArgs(
      clusterId = clusterId.asOutput(isSecret = false),
      location = location.asOutput(isSecret = false),
      nodePoolId = nodePoolId.asOutput(isSecret = false),
      project = project.asOptionOutput(isSecret = false),
      projectId = projectId.asOptionOutput(isSecret = false),
      zone = zone.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy