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

com.pulumi.azure.compute.kotlin.inputs.LinuxVirtualMachineScaleSetGalleryApplicationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.inputs

import com.pulumi.azure.compute.inputs.LinuxVirtualMachineScaleSetGalleryApplicationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Deprecated
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property configurationReferenceBlobUri
 * @property order Specifies the order in which the packages have to be installed. Possible values are between `0` and `2147483647`. Defaults to `0`. Changing this forces a new resource to be created.
 * @property packageReferenceId
 * @property tag
 */
public data class LinuxVirtualMachineScaleSetGalleryApplicationArgs(
    @Deprecated(
        message = """
  `configuration_reference_blob_uri` has been renamed to `configuration_blob_uri` and will be
      deprecated in 4.0
  """,
    )
    public val configurationReferenceBlobUri: Output? = null,
    public val order: Output? = null,
    @Deprecated(
        message = """
  `package_reference_id` has been renamed to `version_id` and will be deprecated in 4.0
  """,
    )
    public val packageReferenceId: Output,
    public val tag: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.compute.inputs.LinuxVirtualMachineScaleSetGalleryApplicationArgs =
        com.pulumi.azure.compute.inputs.LinuxVirtualMachineScaleSetGalleryApplicationArgs.builder()
            .configurationReferenceBlobUri(configurationReferenceBlobUri?.applyValue({ args0 -> args0 }))
            .order(order?.applyValue({ args0 -> args0 }))
            .packageReferenceId(packageReferenceId.applyValue({ args0 -> args0 }))
            .tag(tag?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LinuxVirtualMachineScaleSetGalleryApplicationArgs].
 */
@PulumiTagMarker
public class LinuxVirtualMachineScaleSetGalleryApplicationArgsBuilder internal constructor() {
    private var configurationReferenceBlobUri: Output? = null

    private var order: Output? = null

    private var packageReferenceId: Output? = null

    private var tag: Output? = null

    /**
     * @param value
     */
    @Deprecated(
        message = """
  `configuration_reference_blob_uri` has been renamed to `configuration_blob_uri` and will be
      deprecated in 4.0
  """,
    )
    @JvmName("dxyjloacmtcmrwln")
    public suspend fun configurationReferenceBlobUri(`value`: Output) {
        this.configurationReferenceBlobUri = value
    }

    /**
     * @param value Specifies the order in which the packages have to be installed. Possible values are between `0` and `2147483647`. Defaults to `0`. Changing this forces a new resource to be created.
     */
    @JvmName("kgvngpaudsccwbrq")
    public suspend fun order(`value`: Output) {
        this.order = value
    }

    /**
     * @param value
     */
    @Deprecated(
        message = """
  `package_reference_id` has been renamed to `version_id` and will be deprecated in 4.0
  """,
    )
    @JvmName("iqwoyckanvjqtsle")
    public suspend fun packageReferenceId(`value`: Output) {
        this.packageReferenceId = value
    }

    /**
     * @param value
     */
    @JvmName("nplspujpyltkbbjp")
    public suspend fun tag(`value`: Output) {
        this.tag = value
    }

    /**
     * @param value
     */
    @Deprecated(
        message = """
  `configuration_reference_blob_uri` has been renamed to `configuration_blob_uri` and will be
      deprecated in 4.0
  """,
    )
    @JvmName("hqtbdemwrcemhtou")
    public suspend fun configurationReferenceBlobUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configurationReferenceBlobUri = mapped
    }

    /**
     * @param value Specifies the order in which the packages have to be installed. Possible values are between `0` and `2147483647`. Defaults to `0`. Changing this forces a new resource to be created.
     */
    @JvmName("axdwlamcogkukwke")
    public suspend fun order(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.order = mapped
    }

    /**
     * @param value
     */
    @Deprecated(
        message = """
  `package_reference_id` has been renamed to `version_id` and will be deprecated in 4.0
  """,
    )
    @JvmName("jgbxfthqiesqmrvy")
    public suspend fun packageReferenceId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.packageReferenceId = mapped
    }

    /**
     * @param value
     */
    @JvmName("qblqyodgecblhfyv")
    public suspend fun tag(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tag = mapped
    }

    internal fun build(): LinuxVirtualMachineScaleSetGalleryApplicationArgs =
        LinuxVirtualMachineScaleSetGalleryApplicationArgs(
            configurationReferenceBlobUri = configurationReferenceBlobUri,
            order = order,
            packageReferenceId = packageReferenceId ?: throw PulumiNullFieldException("packageReferenceId"),
            tag = tag,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy