
com.pulumi.azure.appservice.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.appservice.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getCertificate.
* @property expirationDate The expiration date for the certificate.
* @property friendlyName The friendly name of the certificate.
* @property hostNames List of host names the certificate applies to.
* @property id The provider-assigned unique ID for this managed resource.
* @property issueDate The issue date for the certificate.
* @property issuer The name of the certificate issuer.
* @property location
* @property name
* @property resourceGroupName
* @property subjectName The subject name of the certificate.
* @property tags
* @property thumbprint The thumbprint for the certificate.
*/
public data class GetCertificateResult(
public val expirationDate: String,
public val friendlyName: String,
public val hostNames: List,
public val id: String,
public val issueDate: String,
public val issuer: String,
public val location: String,
public val name: String,
public val resourceGroupName: String,
public val subjectName: String,
public val tags: Map? = null,
public val thumbprint: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetCertificateResult):
GetCertificateResult = GetCertificateResult(
expirationDate = javaType.expirationDate(),
friendlyName = javaType.friendlyName(),
hostNames = javaType.hostNames().map({ args0 -> args0 }),
id = javaType.id(),
issueDate = javaType.issueDate(),
issuer = javaType.issuer(),
location = javaType.location(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
subjectName = javaType.subjectName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
thumbprint = javaType.thumbprint(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy