All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.appconfiguration.kotlin.outputs.GetConfigurationKeysResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appconfiguration.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getConfigurationKeys.
 * @property configurationStoreId
 * @property id The provider-assigned unique ID for this managed resource.
 * @property items A list of `items` blocks as defined below.
 * @property key The name of the App Configuration Key.
 * @property label The label of the App Configuration Key.
 */
public data class GetConfigurationKeysResult(
    public val configurationStoreId: String,
    public val id: String,
    public val items: List,
    public val key: String? = null,
    public val label: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appconfiguration.outputs.GetConfigurationKeysResult):
            GetConfigurationKeysResult = GetConfigurationKeysResult(
            configurationStoreId = javaType.configurationStoreId(),
            id = javaType.id(),
            items = javaType.items().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appconfiguration.kotlin.outputs.GetConfigurationKeysItem.Companion.toKotlin(args0)
                })
            }),
            key = javaType.key().map({ args0 -> args0 }).orElse(null),
            label = javaType.label().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy