
src.compute.beta.Image.scala Maven / Gradle / Ivy
package besom.api.googlenative.compute.beta
final case class Image private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
architecture: besom.types.Output[String],
archiveSizeBytes: besom.types.Output[String],
creationTimestamp: besom.types.Output[String],
deprecated: besom.types.Output[besom.api.googlenative.compute.beta.outputs.DeprecationStatusResponse],
description: besom.types.Output[String],
diskSizeGb: besom.types.Output[String],
enableConfidentialCompute: besom.types.Output[Boolean],
family: besom.types.Output[String],
forceCreate: besom.types.Output[scala.Option[Boolean]],
guestOsFeatures: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.compute.beta.outputs.GuestOsFeatureResponse]],
imageEncryptionKey: besom.types.Output[besom.api.googlenative.compute.beta.outputs.CustomerEncryptionKeyResponse],
kind: besom.types.Output[String],
labelFingerprint: besom.types.Output[String],
labels: besom.types.Output[scala.Predef.Map[String, String]],
licenseCodes: besom.types.Output[scala.collection.immutable.List[String]],
licenses: besom.types.Output[scala.collection.immutable.List[String]],
locked: besom.types.Output[Boolean],
name: besom.types.Output[String],
project: besom.types.Output[String],
rawDisk: besom.types.Output[besom.api.googlenative.compute.beta.outputs.ImageRawDiskResponse],
requestId: besom.types.Output[scala.Option[String]],
rolloutOverride: besom.types.Output[besom.api.googlenative.compute.beta.outputs.RolloutPolicyResponse],
satisfiesPzs: besom.types.Output[Boolean],
selfLink: besom.types.Output[String],
shieldedInstanceInitialState: besom.types.Output[besom.api.googlenative.compute.beta.outputs.InitialStateConfigResponse],
sourceDisk: besom.types.Output[String],
sourceDiskEncryptionKey: besom.types.Output[besom.api.googlenative.compute.beta.outputs.CustomerEncryptionKeyResponse],
sourceDiskId: besom.types.Output[String],
sourceImage: besom.types.Output[String],
sourceImageEncryptionKey: besom.types.Output[besom.api.googlenative.compute.beta.outputs.CustomerEncryptionKeyResponse],
sourceImageId: besom.types.Output[String],
sourceSnapshot: besom.types.Output[String],
sourceSnapshotEncryptionKey: besom.types.Output[besom.api.googlenative.compute.beta.outputs.CustomerEncryptionKeyResponse],
sourceSnapshotId: besom.types.Output[String],
sourceType: besom.types.Output[String],
status: besom.types.Output[String],
storageLocations: besom.types.Output[scala.collection.immutable.List[String]],
userLicenses: besom.types.Output[scala.collection.immutable.List[String]]
) extends besom.CustomResource
object Image extends besom.ResourceCompanion[Image]:
/** Resource constructor for Image.
*
* @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 [[ImageArgs]] 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 = Image(
* "my-resource",
* ImageArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: ImageArgs = ImageArgs(),
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[Image] =
ctx.readOrRegisterResource[Image, ImageArgs]("google-native:compute/beta:Image", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:compute/beta:Image"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Image] =
besom.internal.ResourceDecoder.derived[Image]
given decoder(using besom.types.Context): besom.types.Decoder[Image] =
besom.internal.Decoder.customResourceDecoder[Image]
given outputOps: {} with
extension(output: besom.types.Output[Image])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def architecture : besom.types.Output[String] = output.flatMap(_.architecture)
def archiveSizeBytes : besom.types.Output[String] = output.flatMap(_.archiveSizeBytes)
def creationTimestamp : besom.types.Output[String] = output.flatMap(_.creationTimestamp)
def deprecated : besom.types.Output[besom.api.googlenative.compute.beta.outputs.DeprecationStatusResponse] = output.flatMap(_.deprecated)
def description : besom.types.Output[String] = output.flatMap(_.description)
def diskSizeGb : besom.types.Output[String] = output.flatMap(_.diskSizeGb)
def enableConfidentialCompute : besom.types.Output[Boolean] = output.flatMap(_.enableConfidentialCompute)
def family : besom.types.Output[String] = output.flatMap(_.family)
def forceCreate : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.forceCreate)
def guestOsFeatures : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.compute.beta.outputs.GuestOsFeatureResponse]] = output.flatMap(_.guestOsFeatures)
def imageEncryptionKey : besom.types.Output[besom.api.googlenative.compute.beta.outputs.CustomerEncryptionKeyResponse] = output.flatMap(_.imageEncryptionKey)
def kind : besom.types.Output[String] = output.flatMap(_.kind)
def labelFingerprint : besom.types.Output[String] = output.flatMap(_.labelFingerprint)
def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.labels)
def licenseCodes : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.licenseCodes)
def licenses : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.licenses)
def locked : besom.types.Output[Boolean] = output.flatMap(_.locked)
def name : besom.types.Output[String] = output.flatMap(_.name)
def project : besom.types.Output[String] = output.flatMap(_.project)
def rawDisk : besom.types.Output[besom.api.googlenative.compute.beta.outputs.ImageRawDiskResponse] = output.flatMap(_.rawDisk)
def requestId : besom.types.Output[scala.Option[String]] = output.flatMap(_.requestId)
def rolloutOverride : besom.types.Output[besom.api.googlenative.compute.beta.outputs.RolloutPolicyResponse] = output.flatMap(_.rolloutOverride)
def satisfiesPzs : besom.types.Output[Boolean] = output.flatMap(_.satisfiesPzs)
def selfLink : besom.types.Output[String] = output.flatMap(_.selfLink)
def shieldedInstanceInitialState : besom.types.Output[besom.api.googlenative.compute.beta.outputs.InitialStateConfigResponse] = output.flatMap(_.shieldedInstanceInitialState)
def sourceDisk : besom.types.Output[String] = output.flatMap(_.sourceDisk)
def sourceDiskEncryptionKey : besom.types.Output[besom.api.googlenative.compute.beta.outputs.CustomerEncryptionKeyResponse] = output.flatMap(_.sourceDiskEncryptionKey)
def sourceDiskId : besom.types.Output[String] = output.flatMap(_.sourceDiskId)
def sourceImage : besom.types.Output[String] = output.flatMap(_.sourceImage)
def sourceImageEncryptionKey : besom.types.Output[besom.api.googlenative.compute.beta.outputs.CustomerEncryptionKeyResponse] = output.flatMap(_.sourceImageEncryptionKey)
def sourceImageId : besom.types.Output[String] = output.flatMap(_.sourceImageId)
def sourceSnapshot : besom.types.Output[String] = output.flatMap(_.sourceSnapshot)
def sourceSnapshotEncryptionKey : besom.types.Output[besom.api.googlenative.compute.beta.outputs.CustomerEncryptionKeyResponse] = output.flatMap(_.sourceSnapshotEncryptionKey)
def sourceSnapshotId : besom.types.Output[String] = output.flatMap(_.sourceSnapshotId)
def sourceType : besom.types.Output[String] = output.flatMap(_.sourceType)
def status : besom.types.Output[String] = output.flatMap(_.status)
def storageLocations : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.storageLocations)
def userLicenses : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.userLicenses)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy