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

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

@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 getAccessPolicy.
 * @property certificatePermissions the certificate permissions for the access policy
 * @property id The provider-assigned unique ID for this managed resource.
 * @property keyPermissions the key permissions for the access policy
 * @property name
 * @property secretPermissions the secret permissions for the access policy
 */
public data class GetAccessPolicyResult(
    public val certificatePermissions: List,
    public val id: String,
    public val keyPermissions: List,
    public val name: String,
    public val secretPermissions: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.GetAccessPolicyResult): GetAccessPolicyResult = GetAccessPolicyResult(
            certificatePermissions = javaType.certificatePermissions().map({ args0 -> args0 }),
            id = javaType.id(),
            keyPermissions = javaType.keyPermissions().map({ args0 -> args0 }),
            name = javaType.name(),
            secretPermissions = javaType.secretPermissions().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy