![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.keyvault.kotlin.outputs.CertificateCertificatePolicyKeyProperties.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.keyvault.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property curve Specifies the curve to use when creating an `EC` key. Possible values are `P-256`, `P-256K`, `P-384`, and `P-521`. This field will be required in a future release if `key_type` is `EC` or `EC-HSM`.
* @property exportable Is this certificate exportable?
* @property keySize The size of the key used in the certificate. Possible values include `2048`, `3072`, and `4096` for `RSA` keys, or `256`, `384`, and `521` for `EC` keys. This property is required when using RSA keys.
* @property keyType Specifies the type of key. Possible values are `EC`, `EC-HSM`, `RSA`, `RSA-HSM` and `oct`.
* @property reuseKey Is the key reusable?
*/
public data class CertificateCertificatePolicyKeyProperties(
public val curve: String? = null,
public val exportable: Boolean,
public val keySize: Int? = null,
public val keyType: String,
public val reuseKey: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.CertificateCertificatePolicyKeyProperties): CertificateCertificatePolicyKeyProperties = CertificateCertificatePolicyKeyProperties(
curve = javaType.curve().map({ args0 -> args0 }).orElse(null),
exportable = javaType.exportable(),
keySize = javaType.keySize().map({ args0 -> args0 }).orElse(null),
keyType = javaType.keyType(),
reuseKey = javaType.reuseKey(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy