
com.pulumi.azure.containerapp.kotlin.outputs.EnvironmentDaprComponentMetadata.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerapp.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property name The name of the Metadata configuration item.
* @property secretName The name of a secret specified in the `secrets` block that contains the value for this metadata configuration item.
* @property value The value for this metadata configuration item.
*/
public data class EnvironmentDaprComponentMetadata(
public val name: String,
public val secretName: String? = null,
public val `value`: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerapp.outputs.EnvironmentDaprComponentMetadata): EnvironmentDaprComponentMetadata = EnvironmentDaprComponentMetadata(
name = javaType.name(),
secretName = javaType.secretName().map({ args0 -> args0 }).orElse(null),
`value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy