com.pulumi.azure.keyvault.kotlin.outputs.GetCertificateIssuerResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.keyvault.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getCertificateIssuer.
* @property accountId The account number with the third-party Certificate Issuer.
* @property admins A list of `admin` blocks as defined below.
* @property id The provider-assigned unique ID for this managed resource.
* @property keyVaultId
* @property name
* @property orgId The organization ID with the third-party Certificate Issuer.
* @property providerName The name of the third-party Certificate Issuer.
*/
public data class GetCertificateIssuerResult(
public val accountId: String,
public val admins: List,
public val id: String,
public val keyVaultId: String,
public val name: String,
public val orgId: String,
public val providerName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.GetCertificateIssuerResult): GetCertificateIssuerResult = GetCertificateIssuerResult(
accountId = javaType.accountId(),
admins = javaType.admins().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.keyvault.kotlin.outputs.GetCertificateIssuerAdmin.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
keyVaultId = javaType.keyVaultId(),
name = javaType.name(),
orgId = javaType.orgId(),
providerName = javaType.providerName(),
)
}
}