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

src.notebooks.v1.Instance.scala Maven / Gradle / Ivy

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

final case class Instance private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  acceleratorConfig: besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.AcceleratorConfigResponse],
  bootDiskSizeGb: besom.types.Output[String],
  bootDiskType: besom.types.Output[String],
  canIpForward: besom.types.Output[Boolean],
  containerImage: besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.ContainerImageResponse],
  createTime: besom.types.Output[String],
  creator: besom.types.Output[String],
  customGpuDriverPath: besom.types.Output[String],
  dataDiskSizeGb: besom.types.Output[String],
  dataDiskType: besom.types.Output[String],
  diskEncryption: besom.types.Output[String],
  disks: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.notebooks.v1.outputs.DiskResponse]],
  installGpuDriver: besom.types.Output[Boolean],
  instanceId: besom.types.Output[String],
  instanceMigrationEligibility: besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.InstanceMigrationEligibilityResponse],
  instanceOwners: besom.types.Output[scala.collection.immutable.List[String]],
  kmsKey: besom.types.Output[String],
  labels: besom.types.Output[scala.Predef.Map[String, String]],
  location: besom.types.Output[String],
  machineType: besom.types.Output[String],
  metadata: besom.types.Output[scala.Predef.Map[String, String]],
  migrated: besom.types.Output[Boolean],
  name: besom.types.Output[String],
  network: besom.types.Output[String],
  nicType: besom.types.Output[String],
  noProxyAccess: besom.types.Output[Boolean],
  noPublicIp: besom.types.Output[Boolean],
  noRemoveDataDisk: besom.types.Output[Boolean],
  postStartupScript: besom.types.Output[String],
  project: besom.types.Output[String],
  proxyUri: besom.types.Output[String],
  reservationAffinity: besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.ReservationAffinityResponse],
  serviceAccount: besom.types.Output[String],
  serviceAccountScopes: besom.types.Output[scala.collection.immutable.List[String]],
  shieldedInstanceConfig: besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.ShieldedInstanceConfigResponse],
  state: besom.types.Output[String],
  subnet: besom.types.Output[String],
  tags: besom.types.Output[scala.collection.immutable.List[String]],
  updateTime: besom.types.Output[String],
  upgradeHistory: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.notebooks.v1.outputs.UpgradeHistoryEntryResponse]],
  vmImage: besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.VmImageResponse]
) extends besom.CustomResource

object Instance extends besom.ResourceCompanion[Instance]:
  /** Resource constructor for Instance. 
    * 
    * @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 [[InstanceArgs]] 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 = Instance(
    *          "my-resource",
    *          InstanceArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: InstanceArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[Instance] =
    ctx.readOrRegisterResource[Instance, InstanceArgs]("google-native:notebooks/v1:Instance", name, args, opts(using besom.ResourceOptsVariant.Custom))

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

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

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


  given outputOps: {} with
    extension(output: besom.types.Output[Instance])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def acceleratorConfig : besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.AcceleratorConfigResponse] = output.flatMap(_.acceleratorConfig)
      def bootDiskSizeGb : besom.types.Output[String] = output.flatMap(_.bootDiskSizeGb)
      def bootDiskType : besom.types.Output[String] = output.flatMap(_.bootDiskType)
      def canIpForward : besom.types.Output[Boolean] = output.flatMap(_.canIpForward)
      def containerImage : besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.ContainerImageResponse] = output.flatMap(_.containerImage)
      def createTime : besom.types.Output[String] = output.flatMap(_.createTime)
      def creator : besom.types.Output[String] = output.flatMap(_.creator)
      def customGpuDriverPath : besom.types.Output[String] = output.flatMap(_.customGpuDriverPath)
      def dataDiskSizeGb : besom.types.Output[String] = output.flatMap(_.dataDiskSizeGb)
      def dataDiskType : besom.types.Output[String] = output.flatMap(_.dataDiskType)
      def diskEncryption : besom.types.Output[String] = output.flatMap(_.diskEncryption)
      def disks : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.notebooks.v1.outputs.DiskResponse]] = output.flatMap(_.disks)
      def installGpuDriver : besom.types.Output[Boolean] = output.flatMap(_.installGpuDriver)
      def instanceId : besom.types.Output[String] = output.flatMap(_.instanceId)
      def instanceMigrationEligibility : besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.InstanceMigrationEligibilityResponse] = output.flatMap(_.instanceMigrationEligibility)
      def instanceOwners : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.instanceOwners)
      def kmsKey : besom.types.Output[String] = output.flatMap(_.kmsKey)
      def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.labels)
      def location : besom.types.Output[String] = output.flatMap(_.location)
      def machineType : besom.types.Output[String] = output.flatMap(_.machineType)
      def metadata : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.metadata)
      def migrated : besom.types.Output[Boolean] = output.flatMap(_.migrated)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def network : besom.types.Output[String] = output.flatMap(_.network)
      def nicType : besom.types.Output[String] = output.flatMap(_.nicType)
      def noProxyAccess : besom.types.Output[Boolean] = output.flatMap(_.noProxyAccess)
      def noPublicIp : besom.types.Output[Boolean] = output.flatMap(_.noPublicIp)
      def noRemoveDataDisk : besom.types.Output[Boolean] = output.flatMap(_.noRemoveDataDisk)
      def postStartupScript : besom.types.Output[String] = output.flatMap(_.postStartupScript)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def proxyUri : besom.types.Output[String] = output.flatMap(_.proxyUri)
      def reservationAffinity : besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.ReservationAffinityResponse] = output.flatMap(_.reservationAffinity)
      def serviceAccount : besom.types.Output[String] = output.flatMap(_.serviceAccount)
      def serviceAccountScopes : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.serviceAccountScopes)
      def shieldedInstanceConfig : besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.ShieldedInstanceConfigResponse] = output.flatMap(_.shieldedInstanceConfig)
      def state : besom.types.Output[String] = output.flatMap(_.state)
      def subnet : besom.types.Output[String] = output.flatMap(_.subnet)
      def tags : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.tags)
      def updateTime : besom.types.Output[String] = output.flatMap(_.updateTime)
      def upgradeHistory : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.notebooks.v1.outputs.UpgradeHistoryEntryResponse]] = output.flatMap(_.upgradeHistory)
      def vmImage : besom.types.Output[besom.api.googlenative.notebooks.v1.outputs.VmImageResponse] = output.flatMap(_.vmImage)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy