
src.dataproc.v1.Batch.scala Maven / Gradle / Ivy
package besom.api.googlenative.dataproc.v1
final case class Batch private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
batchId: besom.types.Output[scala.Option[String]],
createTime: besom.types.Output[String],
creator: besom.types.Output[String],
environmentConfig: besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.EnvironmentConfigResponse],
labels: besom.types.Output[scala.Predef.Map[String, String]],
location: besom.types.Output[String],
name: besom.types.Output[String],
operation: besom.types.Output[String],
project: besom.types.Output[String],
pysparkBatch: besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.PySparkBatchResponse],
requestId: besom.types.Output[scala.Option[String]],
runtimeConfig: besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.RuntimeConfigResponse],
runtimeInfo: besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.RuntimeInfoResponse],
sparkBatch: besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.SparkBatchResponse],
sparkRBatch: besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.SparkRBatchResponse],
sparkSqlBatch: besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.SparkSqlBatchResponse],
state: besom.types.Output[String],
stateHistory: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dataproc.v1.outputs.StateHistoryResponse]],
stateMessage: besom.types.Output[String],
stateTime: besom.types.Output[String],
uuid: besom.types.Output[String]
) extends besom.CustomResource
object Batch extends besom.ResourceCompanion[Batch]:
/** Resource constructor for Batch.
*
* @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 [[BatchArgs]] 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 = Batch(
* "my-resource",
* BatchArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: BatchArgs = BatchArgs(),
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[Batch] =
ctx.readOrRegisterResource[Batch, BatchArgs]("google-native:dataproc/v1:Batch", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:dataproc/v1:Batch"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Batch] =
besom.internal.ResourceDecoder.derived[Batch]
given decoder(using besom.types.Context): besom.types.Decoder[Batch] =
besom.internal.Decoder.customResourceDecoder[Batch]
given outputOps: {} with
extension(output: besom.types.Output[Batch])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def batchId : besom.types.Output[scala.Option[String]] = output.flatMap(_.batchId)
def createTime : besom.types.Output[String] = output.flatMap(_.createTime)
def creator : besom.types.Output[String] = output.flatMap(_.creator)
def environmentConfig : besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.EnvironmentConfigResponse] = output.flatMap(_.environmentConfig)
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 operation : besom.types.Output[String] = output.flatMap(_.operation)
def project : besom.types.Output[String] = output.flatMap(_.project)
def pysparkBatch : besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.PySparkBatchResponse] = output.flatMap(_.pysparkBatch)
def requestId : besom.types.Output[scala.Option[String]] = output.flatMap(_.requestId)
def runtimeConfig : besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.RuntimeConfigResponse] = output.flatMap(_.runtimeConfig)
def runtimeInfo : besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.RuntimeInfoResponse] = output.flatMap(_.runtimeInfo)
def sparkBatch : besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.SparkBatchResponse] = output.flatMap(_.sparkBatch)
def sparkRBatch : besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.SparkRBatchResponse] = output.flatMap(_.sparkRBatch)
def sparkSqlBatch : besom.types.Output[besom.api.googlenative.dataproc.v1.outputs.SparkSqlBatchResponse] = output.flatMap(_.sparkSqlBatch)
def state : besom.types.Output[String] = output.flatMap(_.state)
def stateHistory : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.dataproc.v1.outputs.StateHistoryResponse]] = output.flatMap(_.stateHistory)
def stateMessage : besom.types.Output[String] = output.flatMap(_.stateMessage)
def stateTime : besom.types.Output[String] = output.flatMap(_.stateTime)
def uuid : besom.types.Output[String] = output.flatMap(_.uuid)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy