
src.dataflow.v1b3.Job.scala Maven / Gradle / Ivy
package besom.api.googlenative.dataflow.v1b3
final case class Job private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
clientRequestId: besom.types.Output[String],
createTime: besom.types.Output[String],
createdFromSnapshotId: besom.types.Output[String],
currentState: besom.types.Output[String],
currentStateTime: besom.types.Output[String],
environment: besom.types.Output[besom.api.googlenative.dataflow.v1b3.outputs.EnvironmentResponse],
executionInfo: besom.types.Output[besom.api.googlenative.dataflow.v1b3.outputs.JobExecutionInfoResponse],
jobMetadata: besom.types.Output[besom.api.googlenative.dataflow.v1b3.outputs.JobMetadataResponse],
labels: besom.types.Output[scala.Predef.Map[String, String]],
location: besom.types.Output[String],
name: besom.types.Output[String],
pipelineDescription: besom.types.Output[besom.api.googlenative.dataflow.v1b3.outputs.PipelineDescriptionResponse],
project: besom.types.Output[String],
replaceJobId: besom.types.Output[String],
replacedByJobId: besom.types.Output[String],
requestedState: besom.types.Output[String],
runtimeUpdatableParams: besom.types.Output[besom.api.googlenative.dataflow.v1b3.outputs.RuntimeUpdatableParamsResponse],
satisfiesPzi: besom.types.Output[Boolean],
satisfiesPzs: besom.types.Output[Boolean],
stageStates: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dataflow.v1b3.outputs.ExecutionStageStateResponse]],
startTime: besom.types.Output[String],
steps: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dataflow.v1b3.outputs.StepResponse]],
stepsLocation: besom.types.Output[String],
tempFiles: besom.types.Output[scala.collection.immutable.List[String]],
transformNameMapping: besom.types.Output[scala.Predef.Map[String, String]],
`type`: besom.types.Output[String],
view: besom.types.Output[scala.Option[String]]
) extends besom.CustomResource
object Job extends besom.ResourceCompanion[Job]:
/** Resource constructor for Job.
*
* @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 [[JobArgs]] The configuration to use to create this resource. This resource has a default configuration.
*
* @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 = Job(
* "my-resource",
* JobArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: JobArgs = JobArgs(),
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[Job] =
ctx.readOrRegisterResource[Job, JobArgs]("google-native:dataflow/v1b3:Job", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:dataflow/v1b3:Job"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Job] =
besom.internal.ResourceDecoder.derived[Job]
given decoder(using besom.types.Context): besom.types.Decoder[Job] =
besom.internal.Decoder.customResourceDecoder[Job]
given outputOps: {} with
extension(output: besom.types.Output[Job])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def clientRequestId : besom.types.Output[String] = output.flatMap(_.clientRequestId)
def createTime : besom.types.Output[String] = output.flatMap(_.createTime)
def createdFromSnapshotId : besom.types.Output[String] = output.flatMap(_.createdFromSnapshotId)
def currentState : besom.types.Output[String] = output.flatMap(_.currentState)
def currentStateTime : besom.types.Output[String] = output.flatMap(_.currentStateTime)
def environment : besom.types.Output[besom.api.googlenative.dataflow.v1b3.outputs.EnvironmentResponse] = output.flatMap(_.environment)
def executionInfo : besom.types.Output[besom.api.googlenative.dataflow.v1b3.outputs.JobExecutionInfoResponse] = output.flatMap(_.executionInfo)
def jobMetadata : besom.types.Output[besom.api.googlenative.dataflow.v1b3.outputs.JobMetadataResponse] = output.flatMap(_.jobMetadata)
def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.labels)
def location : besom.types.Output[String] = output.flatMap(_.location)
def name : besom.types.Output[String] = output.flatMap(_.name)
def pipelineDescription : besom.types.Output[besom.api.googlenative.dataflow.v1b3.outputs.PipelineDescriptionResponse] = output.flatMap(_.pipelineDescription)
def project : besom.types.Output[String] = output.flatMap(_.project)
def replaceJobId : besom.types.Output[String] = output.flatMap(_.replaceJobId)
def replacedByJobId : besom.types.Output[String] = output.flatMap(_.replacedByJobId)
def requestedState : besom.types.Output[String] = output.flatMap(_.requestedState)
def runtimeUpdatableParams : besom.types.Output[besom.api.googlenative.dataflow.v1b3.outputs.RuntimeUpdatableParamsResponse] = output.flatMap(_.runtimeUpdatableParams)
def satisfiesPzi : besom.types.Output[Boolean] = output.flatMap(_.satisfiesPzi)
def satisfiesPzs : besom.types.Output[Boolean] = output.flatMap(_.satisfiesPzs)
def stageStates : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dataflow.v1b3.outputs.ExecutionStageStateResponse]] = output.flatMap(_.stageStates)
def startTime : besom.types.Output[String] = output.flatMap(_.startTime)
def steps : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dataflow.v1b3.outputs.StepResponse]] = output.flatMap(_.steps)
def stepsLocation : besom.types.Output[String] = output.flatMap(_.stepsLocation)
def tempFiles : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.tempFiles)
def transformNameMapping : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.transformNameMapping)
def `type` : besom.types.Output[String] = output.flatMap(_.`type`)
def view : besom.types.Output[scala.Option[String]] = output.flatMap(_.view)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy