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

com.pulumi.azure.iot.kotlin.inputs.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.iot.kotlin.inputs

import com.pulumi.azure.iot.inputs.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property connectionString Connection String of the Diagnostic Storage Account.
 * @property id Resource ID of the Diagnostic Storage Account.
 */
public data class IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs(
    public val connectionString: Output,
    public val id: Output,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.iot.inputs.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs =
        com.pulumi.azure.iot.inputs.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs.builder()
            .connectionString(connectionString.applyValue({ args0 -> args0 }))
            .id(id.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs].
 */
@PulumiTagMarker
public class IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgsBuilder internal constructor() {
    private var connectionString: Output? = null

    private var id: Output? = null

    /**
     * @param value Connection String of the Diagnostic Storage Account.
     */
    @JvmName("shltslnixilvkinf")
    public suspend fun connectionString(`value`: Output) {
        this.connectionString = value
    }

    /**
     * @param value Resource ID of the Diagnostic Storage Account.
     */
    @JvmName("yioibrhgcpgeksks")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value Connection String of the Diagnostic Storage Account.
     */
    @JvmName("vxfjuesblyrkajkw")
    public suspend fun connectionString(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.connectionString = mapped
    }

    /**
     * @param value Resource ID of the Diagnostic Storage Account.
     */
    @JvmName("iydduuabnngfjlvl")
    public suspend fun id(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.id = mapped
    }

    internal fun build(): IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs =
        IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs(
            connectionString = connectionString ?: throw PulumiNullFieldException("connectionString"),
            id = id ?: throw PulumiNullFieldException("id"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy