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

src.datapipelines.v1.Pipeline.scala Maven / Gradle / Ivy

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

final case class Pipeline private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  createTime: besom.types.Output[String],
  displayName: besom.types.Output[String],
  jobCount: besom.types.Output[Int],
  lastUpdateTime: besom.types.Output[String],
  location: besom.types.Output[String],
  name: besom.types.Output[String],
  pipelineSources: besom.types.Output[scala.Predef.Map[String, String]],
  project: besom.types.Output[String],
  scheduleInfo: besom.types.Output[besom.api.googlenative.datapipelines.v1.outputs.GoogleCloudDatapipelinesV1ScheduleSpecResponse],
  schedulerServiceAccountEmail: besom.types.Output[String],
  state: besom.types.Output[String],
  `type`: besom.types.Output[String],
  workload: besom.types.Output[besom.api.googlenative.datapipelines.v1.outputs.GoogleCloudDatapipelinesV1WorkloadResponse]
) extends besom.CustomResource

object Pipeline extends besom.ResourceCompanion[Pipeline]:
  /** Resource constructor for Pipeline. 
    * 
    * @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
    *        NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
    *        issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
    *        string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
    *
    * @param args [[PipelineArgs]] The configuration to use to create this resource. 
    *
    * @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource. 
    *        Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
    *  
    *        {{{
    *        val res = Pipeline(
    *          "my-resource",
    *          PipelineArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: PipelineArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[Pipeline] =
    ctx.readOrRegisterResource[Pipeline, PipelineArgs]("google-native:datapipelines/v1:Pipeline", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "google-native:datapipelines/v1:Pipeline"

  given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Pipeline] =
    besom.internal.ResourceDecoder.derived[Pipeline]

  given decoder(using besom.types.Context): besom.types.Decoder[Pipeline] =
    besom.internal.Decoder.customResourceDecoder[Pipeline]


  given outputOps: {} with
    extension(output: besom.types.Output[Pipeline])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def createTime : besom.types.Output[String] = output.flatMap(_.createTime)
      def displayName : besom.types.Output[String] = output.flatMap(_.displayName)
      def jobCount : besom.types.Output[Int] = output.flatMap(_.jobCount)
      def lastUpdateTime : besom.types.Output[String] = output.flatMap(_.lastUpdateTime)
      def location : besom.types.Output[String] = output.flatMap(_.location)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def pipelineSources : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.pipelineSources)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def scheduleInfo : besom.types.Output[besom.api.googlenative.datapipelines.v1.outputs.GoogleCloudDatapipelinesV1ScheduleSpecResponse] = output.flatMap(_.scheduleInfo)
      def schedulerServiceAccountEmail : besom.types.Output[String] = output.flatMap(_.schedulerServiceAccountEmail)
      def state : besom.types.Output[String] = output.flatMap(_.state)
      def `type` : besom.types.Output[String] = output.flatMap(_.`type`)
      def workload : besom.types.Output[besom.api.googlenative.datapipelines.v1.outputs.GoogleCloudDatapipelinesV1WorkloadResponse] = output.flatMap(_.workload)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy