com.pulumi.gcp.compute.kotlin.outputs.GetRegionSslCertificateResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.compute.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getRegionSslCertificate.
* @property certificate
* @property certificateId
* @property creationTimestamp
* @property description
* @property expireTime
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property namePrefix
* @property privateKey
* @property project
* @property region
* @property selfLink
*/
public data class GetRegionSslCertificateResult(
public val certificate: String,
public val certificateId: Int,
public val creationTimestamp: String,
public val description: String,
public val expireTime: String,
public val id: String,
public val name: String,
public val namePrefix: String,
public val privateKey: String,
public val project: String? = null,
public val region: String? = null,
public val selfLink: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetRegionSslCertificateResult): GetRegionSslCertificateResult = GetRegionSslCertificateResult(
certificate = javaType.certificate(),
certificateId = javaType.certificateId(),
creationTimestamp = javaType.creationTimestamp(),
description = javaType.description(),
expireTime = javaType.expireTime(),
id = javaType.id(),
name = javaType.name(),
namePrefix = javaType.namePrefix(),
privateKey = javaType.privateKey(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
region = javaType.region().map({ args0 -> args0 }).orElse(null),
selfLink = javaType.selfLink(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy