
com.pulumi.azure.keyvault.kotlin.outputs.GetKeyVaultResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.keyvault.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getKeyVault.
* @property accessPolicies One or more `access_policy` blocks as defined below.
* @property enableRbacAuthorization Is Role Based Access Control (RBAC) for authorization of data actions enabled on this Key Vault?
* @property enabledForDeployment Can Azure Virtual Machines retrieve certificates stored as secrets from the Key Vault?
* @property enabledForDiskEncryption Can Azure Disk Encryption retrieve secrets from the Key Vault?
* @property enabledForTemplateDeployment Can Azure Resource Manager retrieve secrets from the Key Vault?
* @property id The provider-assigned unique ID for this managed resource.
* @property location The Azure Region in which the Key Vault exists.
* @property name
* @property networkAcls
* @property publicNetworkAccessEnabled Is public network access enabled on this Key Vault?
* @property purgeProtectionEnabled Is purge protection enabled on this Key Vault?
* @property resourceGroupName
* @property skuName The Name of the SKU used for this Key Vault.
* @property tags A mapping of tags assigned to the Key Vault.
* @property tenantId The Azure Active Directory Tenant ID used to authenticate requests for this Key Vault.
* @property vaultUri The URI of the vault for performing operations on keys and secrets.
*/
public data class GetKeyVaultResult(
public val accessPolicies: List,
public val enableRbacAuthorization: Boolean,
public val enabledForDeployment: Boolean,
public val enabledForDiskEncryption: Boolean,
public val enabledForTemplateDeployment: Boolean,
public val id: String,
public val location: String,
public val name: String,
public val networkAcls: List,
public val publicNetworkAccessEnabled: Boolean,
public val purgeProtectionEnabled: Boolean,
public val resourceGroupName: String,
public val skuName: String,
public val tags: Map,
public val tenantId: String,
public val vaultUri: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.GetKeyVaultResult): GetKeyVaultResult = GetKeyVaultResult(
accessPolicies = javaType.accessPolicies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.keyvault.kotlin.outputs.GetKeyVaultAccessPolicy.Companion.toKotlin(args0)
})
}),
enableRbacAuthorization = javaType.enableRbacAuthorization(),
enabledForDeployment = javaType.enabledForDeployment(),
enabledForDiskEncryption = javaType.enabledForDiskEncryption(),
enabledForTemplateDeployment = javaType.enabledForTemplateDeployment(),
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
networkAcls = javaType.networkAcls().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.keyvault.kotlin.outputs.GetKeyVaultNetworkAcl.Companion.toKotlin(args0)
})
}),
publicNetworkAccessEnabled = javaType.publicNetworkAccessEnabled(),
purgeProtectionEnabled = javaType.purgeProtectionEnabled(),
resourceGroupName = javaType.resourceGroupName(),
skuName = javaType.skuName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
tenantId = javaType.tenantId(),
vaultUri = javaType.vaultUri(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy