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

src.ml.v1.Version.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.ml.v1

final case class Version private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  acceleratorConfig: besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1AcceleratorConfigResponse],
  autoScaling: besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1AutoScalingResponse],
  container: besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1ContainerSpecResponse],
  createTime: besom.types.Output[String],
  deploymentUri: besom.types.Output[String],
  description: besom.types.Output[String],
  errorMessage: besom.types.Output[String],
  etag: besom.types.Output[String],
  explanationConfig: besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1ExplanationConfigResponse],
  framework: besom.types.Output[String],
  isDefault: besom.types.Output[Boolean],
  labels: besom.types.Output[scala.Predef.Map[String, String]],
  lastMigrationModelId: besom.types.Output[String],
  lastMigrationTime: besom.types.Output[String],
  lastUseTime: besom.types.Output[String],
  machineType: besom.types.Output[String],
  manualScaling: besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1ManualScalingResponse],
  modelId: besom.types.Output[String],
  name: besom.types.Output[String],
  packageUris: besom.types.Output[scala.collection.immutable.List[String]],
  predictionClass: besom.types.Output[String],
  project: besom.types.Output[String],
  pythonVersion: besom.types.Output[String],
  requestLoggingConfig: besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1RequestLoggingConfigResponse],
  routes: besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1RouteMapResponse],
  runtimeVersion: besom.types.Output[String],
  serviceAccount: besom.types.Output[String],
  state: besom.types.Output[String]
) extends besom.CustomResource

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

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

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

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


  given outputOps: {} with
    extension(output: besom.types.Output[Version])
      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.ml.v1.outputs.GoogleCloudMlV1AcceleratorConfigResponse] = output.flatMap(_.acceleratorConfig)
      def autoScaling : besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1AutoScalingResponse] = output.flatMap(_.autoScaling)
      def container : besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1ContainerSpecResponse] = output.flatMap(_.container)
      def createTime : besom.types.Output[String] = output.flatMap(_.createTime)
      def deploymentUri : besom.types.Output[String] = output.flatMap(_.deploymentUri)
      def description : besom.types.Output[String] = output.flatMap(_.description)
      def errorMessage : besom.types.Output[String] = output.flatMap(_.errorMessage)
      def etag : besom.types.Output[String] = output.flatMap(_.etag)
      def explanationConfig : besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1ExplanationConfigResponse] = output.flatMap(_.explanationConfig)
      def framework : besom.types.Output[String] = output.flatMap(_.framework)
      def isDefault : besom.types.Output[Boolean] = output.flatMap(_.isDefault)
      def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.labels)
      def lastMigrationModelId : besom.types.Output[String] = output.flatMap(_.lastMigrationModelId)
      def lastMigrationTime : besom.types.Output[String] = output.flatMap(_.lastMigrationTime)
      def lastUseTime : besom.types.Output[String] = output.flatMap(_.lastUseTime)
      def machineType : besom.types.Output[String] = output.flatMap(_.machineType)
      def manualScaling : besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1ManualScalingResponse] = output.flatMap(_.manualScaling)
      def modelId : besom.types.Output[String] = output.flatMap(_.modelId)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def packageUris : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.packageUris)
      def predictionClass : besom.types.Output[String] = output.flatMap(_.predictionClass)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def pythonVersion : besom.types.Output[String] = output.flatMap(_.pythonVersion)
      def requestLoggingConfig : besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1RequestLoggingConfigResponse] = output.flatMap(_.requestLoggingConfig)
      def routes : besom.types.Output[besom.api.googlenative.ml.v1.outputs.GoogleCloudMlV1RouteMapResponse] = output.flatMap(_.routes)
      def runtimeVersion : besom.types.Output[String] = output.flatMap(_.runtimeVersion)
      def serviceAccount : besom.types.Output[String] = output.flatMap(_.serviceAccount)
      def state : besom.types.Output[String] = output.flatMap(_.state)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy