
com.pulumi.azure.appconfiguration.kotlin.outputs.GetConfigurationKeyResult.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
/**
* A collection of values returned by getConfigurationKey.
* @property configurationStoreId
* @property contentType The content type of the App Configuration Key.
* @property etag The ETag of the key.
* @property id The provider-assigned unique ID for this managed resource.
* @property key
* @property label
* @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 GetConfigurationKeyResult(
public val configurationStoreId: String,
public val contentType: String,
public val etag: String,
public val id: String,
public val key: String,
public val label: String? = null,
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.GetConfigurationKeyResult): GetConfigurationKeyResult = GetConfigurationKeyResult(
configurationStoreId = javaType.configurationStoreId(),
contentType = javaType.contentType(),
etag = javaType.etag(),
id = javaType.id(),
key = javaType.key(),
label = javaType.label().map({ args0 -> args0 }).orElse(null),
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