
com.pulumi.azure.keyvault.kotlin.outputs.GetCertificateResult.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.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getCertificate.
* @property certificateData The raw Key Vault Certificate data represented as a hexadecimal string.
* @property certificateDataBase64 The raw Key Vault Certificate data represented as a base64 string.
* @property certificatePolicies A `certificate_policy` block as defined below.
* @property expires Expiry date of certificate in RFC3339 format.
* @property id The provider-assigned unique ID for this managed resource.
* @property keyVaultId
* @property name The name of the Certificate Issuer.
* @property notBefore Not Before date of certificate in RFC3339 format.
* @property resourceManagerId The (Versioned) ID for this Key Vault Certificate. This property points to a specific version of a Key Vault Certificate, as such using this won't auto-rotate values if used in other Azure Services.
* @property resourceManagerVersionlessId The Versionless ID of the Key Vault Certificate. This property allows other Azure Services (that support it) to auto-rotate their value when the Key Vault Certificate is updated.
* @property secretId The ID of the associated Key Vault Secret.
* @property tags A mapping of tags to assign to the resource.
* @property thumbprint The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
* @property version The current version of the Key Vault Certificate.
* @property versionlessId The Base ID of the Key Vault Certificate.
* @property versionlessSecretId The Base ID of the Key Vault Secret.
*/
public data class GetCertificateResult(
public val certificateData: String,
public val certificateDataBase64: String,
public val certificatePolicies: List,
public val expires: String,
public val id: String,
public val keyVaultId: String,
public val name: String,
public val notBefore: String,
public val resourceManagerId: String,
public val resourceManagerVersionlessId: String,
public val secretId: String,
public val tags: Map,
public val thumbprint: String,
public val version: String,
public val versionlessId: String,
public val versionlessSecretId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.GetCertificateResult): GetCertificateResult = GetCertificateResult(
certificateData = javaType.certificateData(),
certificateDataBase64 = javaType.certificateDataBase64(),
certificatePolicies = javaType.certificatePolicies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.keyvault.kotlin.outputs.GetCertificateCertificatePolicy.Companion.toKotlin(args0)
})
}),
expires = javaType.expires(),
id = javaType.id(),
keyVaultId = javaType.keyVaultId(),
name = javaType.name(),
notBefore = javaType.notBefore(),
resourceManagerId = javaType.resourceManagerId(),
resourceManagerVersionlessId = javaType.resourceManagerVersionlessId(),
secretId = javaType.secretId(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
thumbprint = javaType.thumbprint(),
version = javaType.version(),
versionlessId = javaType.versionlessId(),
versionlessSecretId = javaType.versionlessSecretId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy