All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azure.storage.kotlin.ZipBlobArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.storage.kotlin
import com.pulumi.asset.Archive
import com.pulumi.azure.storage.ZipBlobArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Deprecated
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
*
* @property accessTier
* @property cacheControl
* @property content
* @property contentMd5
* @property contentType
* @property encryptionScope
* @property metadata
* @property name
* @property parallelism
* @property size
* @property sourceContent
* @property sourceUri
* @property storageAccountName
* @property storageContainerName
* @property type
*/
public data class ZipBlobArgs
@Deprecated(
message = """
ZipBlob resource is deprecated in the 2.0 version of the provider. Use Blob resource instead.
""",
)
constructor(
public val accessTier: Output? = null,
public val cacheControl: Output? = null,
public val content: Output? = null,
public val contentMd5: Output? = null,
public val contentType: Output? = null,
public val encryptionScope: Output? = null,
public val metadata: Output>? = null,
public val name: Output? = null,
public val parallelism: Output? = null,
public val size: Output? = null,
public val sourceContent: Output? = null,
public val sourceUri: Output? = null,
public val storageAccountName: Output? = null,
public val storageContainerName: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.storage.ZipBlobArgs =
com.pulumi.azure.storage.ZipBlobArgs.builder()
.accessTier(accessTier?.applyValue({ args0 -> args0 }))
.cacheControl(cacheControl?.applyValue({ args0 -> args0 }))
.content(content?.applyValue({ args0 -> args0 }))
.contentMd5(contentMd5?.applyValue({ args0 -> args0 }))
.contentType(contentType?.applyValue({ args0 -> args0 }))
.encryptionScope(encryptionScope?.applyValue({ args0 -> args0 }))
.metadata(
metadata?.applyValue({ args0 ->
args0.map({ args0 ->
args0.key.to(args0.value)
}).toMap()
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.parallelism(parallelism?.applyValue({ args0 -> args0 }))
.size(size?.applyValue({ args0 -> args0 }))
.sourceContent(sourceContent?.applyValue({ args0 -> args0 }))
.sourceUri(sourceUri?.applyValue({ args0 -> args0 }))
.storageAccountName(storageAccountName?.applyValue({ args0 -> args0 }))
.storageContainerName(storageContainerName?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZipBlobArgs].
*/
@PulumiTagMarker
@Deprecated(
message = """
ZipBlob resource is deprecated in the 2.0 version of the provider. Use Blob resource instead.
""",
)
public class ZipBlobArgsBuilder internal constructor() {
private var accessTier: Output? = null
private var cacheControl: Output? = null
private var content: Output? = null
private var contentMd5: Output? = null
private var contentType: Output? = null
private var encryptionScope: Output? = null
private var metadata: Output>? = null
private var name: Output? = null
private var parallelism: Output? = null
private var size: Output? = null
private var sourceContent: Output? = null
private var sourceUri: Output? = null
private var storageAccountName: Output? = null
private var storageContainerName: Output? = null
private var type: Output? = null
/**
* @param value
*/
@JvmName("bmsjbhhifmbjfcbb")
public suspend fun accessTier(`value`: Output) {
this.accessTier = value
}
/**
* @param value
*/
@JvmName("dyslygfaauewildf")
public suspend fun cacheControl(`value`: Output) {
this.cacheControl = value
}
/**
* @param value
*/
@JvmName("bqbwnlnhkkjdlpok")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value
*/
@JvmName("fmpwnlmlwjpmjwli")
public suspend fun contentMd5(`value`: Output) {
this.contentMd5 = value
}
/**
* @param value
*/
@JvmName("joyxmxkoodsbmoks")
public suspend fun contentType(`value`: Output) {
this.contentType = value
}
/**
* @param value
*/
@JvmName("axoxmypblrvwvdpy")
public suspend fun encryptionScope(`value`: Output) {
this.encryptionScope = value
}
/**
* @param value
*/
@JvmName("cbicvpovddjprdjj")
public suspend fun metadata(`value`: Output>) {
this.metadata = value
}
/**
* @param value
*/
@JvmName("mjerogpydouywiia")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("ulqjysojregldmfe")
public suspend fun parallelism(`value`: Output) {
this.parallelism = value
}
/**
* @param value
*/
@JvmName("bdyfdalmqioshkxr")
public suspend fun size(`value`: Output) {
this.size = value
}
/**
* @param value
*/
@JvmName("qikmjarfhrttuujl")
public suspend fun sourceContent(`value`: Output) {
this.sourceContent = value
}
/**
* @param value
*/
@JvmName("reaxrmkmerxyuurp")
public suspend fun sourceUri(`value`: Output) {
this.sourceUri = value
}
/**
* @param value
*/
@JvmName("bdlxgwrrhehphfii")
public suspend fun storageAccountName(`value`: Output) {
this.storageAccountName = value
}
/**
* @param value
*/
@JvmName("qpppcrfrkcknpilj")
public suspend fun storageContainerName(`value`: Output) {
this.storageContainerName = value
}
/**
* @param value
*/
@JvmName("egbpqnmdugcyecmr")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value
*/
@JvmName("xvmnfosxiycjswex")
public suspend fun accessTier(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accessTier = mapped
}
/**
* @param value
*/
@JvmName("adcqrbwdhjahcvgv")
public suspend fun cacheControl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cacheControl = mapped
}
/**
* @param value
*/
@JvmName("teavlgpggbwxgptv")
public suspend fun content(`value`: Archive?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.content = mapped
}
/**
* @param value
*/
@JvmName("vhhpvhueihmiqmer")
public suspend fun contentMd5(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.contentMd5 = mapped
}
/**
* @param value
*/
@JvmName("sukogygxdnqsafex")
public suspend fun contentType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.contentType = mapped
}
/**
* @param value
*/
@JvmName("enkkgbbbppihbjhv")
public suspend fun encryptionScope(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encryptionScope = mapped
}
/**
* @param value
*/
@JvmName("mpivfkmypgjcusuj")
public suspend fun metadata(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.metadata = mapped
}
/**
* @param values
*/
@JvmName("gchyyaookwdforyb")
public fun metadata(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.metadata = mapped
}
/**
* @param value
*/
@JvmName("ghbrgfypixevqful")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value
*/
@JvmName("djbidulbrenepgyw")
public suspend fun parallelism(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.parallelism = mapped
}
/**
* @param value
*/
@JvmName("esunrncdfhwnuuwx")
public suspend fun size(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.size = mapped
}
/**
* @param value
*/
@JvmName("dednjqcttlwfaohg")
public suspend fun sourceContent(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceContent = mapped
}
/**
* @param value
*/
@JvmName("sgisddqqehecohpq")
public suspend fun sourceUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceUri = mapped
}
/**
* @param value
*/
@JvmName("jitrdjsbktocejfq")
public suspend fun storageAccountName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storageAccountName = mapped
}
/**
* @param value
*/
@JvmName("lrggqqldyckbhxup")
public suspend fun storageContainerName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.storageContainerName = mapped
}
/**
* @param value
*/
@JvmName("mvsunecddwhxssfo")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): ZipBlobArgs = ZipBlobArgs(
accessTier = accessTier,
cacheControl = cacheControl,
content = content,
contentMd5 = contentMd5,
contentType = contentType,
encryptionScope = encryptionScope,
metadata = metadata,
name = name,
parallelism = parallelism,
size = size,
sourceContent = sourceContent,
sourceUri = sourceUri,
storageAccountName = storageAccountName,
storageContainerName = storageContainerName,
type = type,
)
}