![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.elasticsan.kotlin.inputs.SnapshotCreationDataArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.elasticsan.kotlin.inputs
import com.pulumi.azurenative.elasticsan.inputs.SnapshotCreationDataArgs.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
/**
* Data used when creating a volume snapshot.
* @property sourceId Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}"
*/
public data class SnapshotCreationDataArgs(
public val sourceId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.elasticsan.inputs.SnapshotCreationDataArgs =
com.pulumi.azurenative.elasticsan.inputs.SnapshotCreationDataArgs.builder()
.sourceId(sourceId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SnapshotCreationDataArgs].
*/
@PulumiTagMarker
public class SnapshotCreationDataArgsBuilder internal constructor() {
private var sourceId: Output? = null
/**
* @param value Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}"
*/
@JvmName("qaoiloojwwqjvwgc")
public suspend fun sourceId(`value`: Output) {
this.sourceId = value
}
/**
* @param value Fully qualified resource ID of the volume. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}"
*/
@JvmName("tqebehjlbaqcgjou")
public suspend fun sourceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sourceId = mapped
}
internal fun build(): SnapshotCreationDataArgs = SnapshotCreationDataArgs(
sourceId = sourceId ?: throw PulumiNullFieldException("sourceId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy