com.pulumi.azure.appconfiguration.kotlin.outputs.GetConfigurationKeysItem.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.appconfiguration.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property contentType The content type of the App Configuration Key.
* @property etag The ETag of the key.
* @property key The name of the App Configuration Keys to look up.
* @property label The label of the App Configuration Keys tp look up.
* @property locked Is this App Configuration Key be Locked to prevent changes.
* @property tags A mapping of tags assigned to the resource.
* @property type The type of the App Configuration Key. It can either be `kv` (simple [key/value](https://docs.microsoft.com/azure/azure-app-configuration/concept-key-value)) or `vault` (where the value is a reference to a [Key Vault Secret](https://azure.microsoft.com/en-gb/services/key-vault/).
* @property value The value of the App Configuration Key.
* @property vaultKeyReference The ID of the vault secret this App Configuration Key refers to, when `type` is `vault`.
*/
public data class GetConfigurationKeysItem(
public val contentType: String,
public val etag: String,
public val key: String,
public val label: String,
public val locked: Boolean,
public val tags: Map,
public val type: String,
public val `value`: String,
public val vaultKeyReference: String,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.appconfiguration.outputs.GetConfigurationKeysItem):
GetConfigurationKeysItem = GetConfigurationKeysItem(
contentType = javaType.contentType(),
etag = javaType.etag(),
key = javaType.key(),
label = javaType.label(),
locked = javaType.locked(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
type = javaType.type(),
`value` = javaType.`value`(),
vaultKeyReference = javaType.vaultKeyReference(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy