com.pulumi.azure.keyvault.kotlin.outputs.GetKeyVaultAccessPolicy.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.keyvault.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property applicationId The Object ID of a Azure Active Directory Application.
* @property certificatePermissions A list of certificate permissions applicable to this Access Policy.
* @property keyPermissions A list of key permissions applicable to this Access Policy.
* @property objectId An Object ID of a User, Service Principal or Security Group.
* @property secretPermissions A list of secret permissions applicable to this Access Policy.
* @property storagePermissions A list of storage permissions applicable to this Access Policy.
* @property tenantId The Azure Active Directory Tenant ID used to authenticate requests for this Key Vault.
*/
public data class GetKeyVaultAccessPolicy(
public val applicationId: String,
public val certificatePermissions: List,
public val keyPermissions: List,
public val objectId: String,
public val secretPermissions: List,
public val storagePermissions: List,
public val tenantId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.GetKeyVaultAccessPolicy):
GetKeyVaultAccessPolicy = GetKeyVaultAccessPolicy(
applicationId = javaType.applicationId(),
certificatePermissions = javaType.certificatePermissions().map({ args0 -> args0 }),
keyPermissions = javaType.keyPermissions().map({ args0 -> args0 }),
objectId = javaType.objectId(),
secretPermissions = javaType.secretPermissions().map({ args0 -> args0 }),
storagePermissions = javaType.storagePermissions().map({ args0 -> args0 }),
tenantId = javaType.tenantId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy