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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.keyvault.kotlin.inputs
import com.pulumi.azurenative.keyvault.inputs.KeyPropertiesArgs.builder
import com.pulumi.azurenative.keyvault.kotlin.enums.JsonWebKeyCurveName
import com.pulumi.azurenative.keyvault.kotlin.enums.JsonWebKeyOperation
import com.pulumi.azurenative.keyvault.kotlin.enums.JsonWebKeyType
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The properties of the key.
* @property attributes The attributes of the key.
* @property curveName The elliptic curve name. For valid values, see JsonWebKeyCurveName.
* @property keyOps
* @property keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA.
* @property kty The type of the key. For valid values, see JsonWebKeyType.
* @property releasePolicy Key release policy in response. It will be used for both output and input. Omitted if empty
* @property rotationPolicy Key rotation policy in response. It will be used for both output and input. Omitted if empty
*/
public data class KeyPropertiesArgs(
public val attributes: Output? = null,
public val curveName: Output>? = null,
public val keyOps: Output>>? = null,
public val keySize: Output? = null,
public val kty: Output>? = null,
public val releasePolicy: Output? = null,
public val rotationPolicy: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.keyvault.inputs.KeyPropertiesArgs =
com.pulumi.azurenative.keyvault.inputs.KeyPropertiesArgs.builder()
.attributes(attributes?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.curveName(
curveName?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.keyOps(
keyOps?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
})
}),
)
.keySize(keySize?.applyValue({ args0 -> args0 }))
.kty(
kty?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.releasePolicy(releasePolicy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.rotationPolicy(
rotationPolicy?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [KeyPropertiesArgs].
*/
@PulumiTagMarker
public class KeyPropertiesArgsBuilder internal constructor() {
private var attributes: Output? = null
private var curveName: Output>? = null
private var keyOps: Output>>? = null
private var keySize: Output? = null
private var kty: Output>? = null
private var releasePolicy: Output? = null
private var rotationPolicy: Output? = null
/**
* @param value The attributes of the key.
*/
@JvmName("cqmuvqqqklvjooda")
public suspend fun attributes(`value`: Output) {
this.attributes = value
}
/**
* @param value The elliptic curve name. For valid values, see JsonWebKeyCurveName.
*/
@JvmName("hmlbdkapoiaflnst")
public suspend fun curveName(`value`: Output>) {
this.curveName = value
}
/**
* @param value
*/
@JvmName("iytawyktfjblkbmc")
public suspend fun keyOps(`value`: Output>>) {
this.keyOps = value
}
@JvmName("moqmmysahntlauxw")
public suspend fun keyOps(vararg values: Output>) {
this.keyOps = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("vqymdvttbwsaobmx")
public suspend fun keyOps(values: List