
com.pulumi.azure.appservice.kotlin.outputs.GetCertificateOrderResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getCertificateOrder.
* @property appServiceCertificateNotRenewableReasons Reasons why App Service Certificate is not renewable at the current moment.
* @property autoRenew true if the certificate should be automatically renewed when it expires; otherwise, false.
* @property certificates State of the Key Vault secret. A `certificates` block as defined below.
* @property csr Last CSR that was created for this order.
* @property distinguishedName The Distinguished Name for the App Service Certificate Order.
* @property domainVerificationToken Domain verification token.
* @property expirationTime Certificate expiration time.
* @property id The provider-assigned unique ID for this managed resource.
* @property intermediateThumbprint Certificate thumbprint intermediate certificate.
* @property isPrivateKeyExternal Whether the private key is external or not.
* @property keySize Certificate key size.
* @property location The Azure location where the App Service exists.
* @property name
* @property productType Certificate product type, such as `Standard` or `WildCard`.
* @property resourceGroupName
* @property rootThumbprint Certificate thumbprint for root certificate.
* @property signedCertificateThumbprint Certificate thumbprint for signed certificate.
* @property status Current order status.
* @property tags A mapping of tags to assign to the resource.
* @property validityInYears Duration in years (must be between 1 and 3).
*/
public data class GetCertificateOrderResult(
public val appServiceCertificateNotRenewableReasons: List,
public val autoRenew: Boolean,
public val certificates: List,
public val csr: String,
public val distinguishedName: String,
public val domainVerificationToken: String,
public val expirationTime: String,
public val id: String,
public val intermediateThumbprint: String,
public val isPrivateKeyExternal: Boolean,
public val keySize: Int,
public val location: String,
public val name: String,
public val productType: String,
public val resourceGroupName: String,
public val rootThumbprint: String,
public val signedCertificateThumbprint: String,
public val status: String,
public val tags: Map,
public val validityInYears: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetCertificateOrderResult):
GetCertificateOrderResult = GetCertificateOrderResult(
appServiceCertificateNotRenewableReasons = javaType.appServiceCertificateNotRenewableReasons().map({ args0 ->
args0
}),
autoRenew = javaType.autoRenew(),
certificates = javaType.certificates().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.GetCertificateOrderCertificate.Companion.toKotlin(args0)
})
}),
csr = javaType.csr(),
distinguishedName = javaType.distinguishedName(),
domainVerificationToken = javaType.domainVerificationToken(),
expirationTime = javaType.expirationTime(),
id = javaType.id(),
intermediateThumbprint = javaType.intermediateThumbprint(),
isPrivateKeyExternal = javaType.isPrivateKeyExternal(),
keySize = javaType.keySize(),
location = javaType.location(),
name = javaType.name(),
productType = javaType.productType(),
resourceGroupName = javaType.resourceGroupName(),
rootThumbprint = javaType.rootThumbprint(),
signedCertificateThumbprint = javaType.signedCertificateThumbprint(),
status = javaType.status(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
validityInYears = javaType.validityInYears(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy