![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.netapp.kotlin.inputs.GetSnapshotPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.netapp.kotlin.inputs
import com.pulumi.azure.netapp.inputs.GetSnapshotPlainArgs.builder
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
/**
* A collection of arguments for invoking getSnapshot.
* @property accountName The name of the NetApp Account where the NetApp Pool exists.
* @property name The name of the NetApp Snapshot.
* @property poolName The name of the NetApp Pool where the NetApp Volume exists.
* @property resourceGroupName The Name of the Resource Group where the NetApp Snapshot exists.
* @property volumeName The name of the NetApp Volume where the NetApp Snapshot exists.
*/
public data class GetSnapshotPlainArgs(
public val accountName: String,
public val name: String,
public val poolName: String,
public val resourceGroupName: String,
public val volumeName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.netapp.inputs.GetSnapshotPlainArgs =
com.pulumi.azure.netapp.inputs.GetSnapshotPlainArgs.builder()
.accountName(accountName.let({ args0 -> args0 }))
.name(name.let({ args0 -> args0 }))
.poolName(poolName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.volumeName(volumeName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSnapshotPlainArgs].
*/
@PulumiTagMarker
public class GetSnapshotPlainArgsBuilder internal constructor() {
private var accountName: String? = null
private var name: String? = null
private var poolName: String? = null
private var resourceGroupName: String? = null
private var volumeName: String? = null
/**
* @param value The name of the NetApp Account where the NetApp Pool exists.
*/
@JvmName("evsaefxqmuvuoqkf")
public suspend fun accountName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.accountName = mapped
}
/**
* @param value The name of the NetApp Snapshot.
*/
@JvmName("nmkkfmsqgqhriors")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The name of the NetApp Pool where the NetApp Volume exists.
*/
@JvmName("dygroscmouahggbe")
public suspend fun poolName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.poolName = mapped
}
/**
* @param value The Name of the Resource Group where the NetApp Snapshot exists.
*/
@JvmName("bilctvnknuujhmnx")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value The name of the NetApp Volume where the NetApp Snapshot exists.
*/
@JvmName("hlgqcppbatnpbetp")
public suspend fun volumeName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.volumeName = mapped
}
internal fun build(): GetSnapshotPlainArgs = GetSnapshotPlainArgs(
accountName = accountName ?: throw PulumiNullFieldException("accountName"),
name = name ?: throw PulumiNullFieldException("name"),
poolName = poolName ?: throw PulumiNullFieldException("poolName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
volumeName = volumeName ?: throw PulumiNullFieldException("volumeName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy