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

com.pulumi.azure.keyvault.kotlin.outputs.GetSecretsResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.keyvault.kotlin.outputs

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

/**
 * A collection of values returned by getSecrets.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property keyVaultId
 * @property names List containing names of secrets that exist in this Key Vault.
 * @property secrets One or more `secrets` blocks as defined below.
 */
public data class GetSecretsResult(
    public val id: String,
    public val keyVaultId: String,
    public val names: List,
    public val secrets: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.GetSecretsResult):
            GetSecretsResult = GetSecretsResult(
            id = javaType.id(),
            keyVaultId = javaType.keyVaultId(),
            names = javaType.names().map({ args0 -> args0 }),
            secrets = javaType.secrets().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.keyvault.kotlin.outputs.GetSecretsSecret.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy