
src.compute.alpha.ZoneQueuedResource.scala Maven / Gradle / Ivy
package besom.api.googlenative.compute.alpha
final case class ZoneQueuedResource private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
bulkInsertInstanceResource: besom.types.Output[besom.api.googlenative.compute.alpha.outputs.BulkInsertInstanceResourceResponse],
creationTimestamp: besom.types.Output[String],
description: besom.types.Output[String],
kind: besom.types.Output[String],
name: besom.types.Output[String],
project: besom.types.Output[String],
queuingPolicy: besom.types.Output[besom.api.googlenative.compute.alpha.outputs.QueuingPolicyResponse],
requestId: besom.types.Output[scala.Option[String]],
selfLink: besom.types.Output[String],
selfLinkWithId: besom.types.Output[String],
state: besom.types.Output[String],
status: besom.types.Output[besom.api.googlenative.compute.alpha.outputs.QueuedResourceStatusResponse],
zone: besom.types.Output[String]
) extends besom.CustomResource
object ZoneQueuedResource extends besom.ResourceCompanion[ZoneQueuedResource]:
/** Resource constructor for ZoneQueuedResource.
*
* @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 [[ZoneQueuedResourceArgs]] 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 = ZoneQueuedResource(
* "my-resource",
* ZoneQueuedResourceArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: ZoneQueuedResourceArgs = ZoneQueuedResourceArgs(),
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[ZoneQueuedResource] =
ctx.readOrRegisterResource[ZoneQueuedResource, ZoneQueuedResourceArgs]("google-native:compute/alpha:ZoneQueuedResource", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:compute/alpha:ZoneQueuedResource"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[ZoneQueuedResource] =
besom.internal.ResourceDecoder.derived[ZoneQueuedResource]
given decoder(using besom.types.Context): besom.types.Decoder[ZoneQueuedResource] =
besom.internal.Decoder.customResourceDecoder[ZoneQueuedResource]
given outputOps: {} with
extension(output: besom.types.Output[ZoneQueuedResource])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def bulkInsertInstanceResource : besom.types.Output[besom.api.googlenative.compute.alpha.outputs.BulkInsertInstanceResourceResponse] = output.flatMap(_.bulkInsertInstanceResource)
def creationTimestamp : besom.types.Output[String] = output.flatMap(_.creationTimestamp)
def description : besom.types.Output[String] = output.flatMap(_.description)
def kind : besom.types.Output[String] = output.flatMap(_.kind)
def name : besom.types.Output[String] = output.flatMap(_.name)
def project : besom.types.Output[String] = output.flatMap(_.project)
def queuingPolicy : besom.types.Output[besom.api.googlenative.compute.alpha.outputs.QueuingPolicyResponse] = output.flatMap(_.queuingPolicy)
def requestId : besom.types.Output[scala.Option[String]] = output.flatMap(_.requestId)
def selfLink : besom.types.Output[String] = output.flatMap(_.selfLink)
def selfLinkWithId : besom.types.Output[String] = output.flatMap(_.selfLinkWithId)
def state : besom.types.Output[String] = output.flatMap(_.state)
def status : besom.types.Output[besom.api.googlenative.compute.alpha.outputs.QueuedResourceStatusResponse] = output.flatMap(_.status)
def zone : besom.types.Output[String] = output.flatMap(_.zone)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy