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

com.pulumi.azure.keyvault.kotlin.outputs.GetManagedHardwareSecurityModuleRoleDefinitionResult.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.15.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 getManagedHardwareSecurityModuleRoleDefinition.
 * @property assignableScopes A list of assignable role scope. Possible values are `/` and `/keys`.
 * @property description A text description of this role definition.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property managedHsmId
 * @property name
 * @property permissions A `permission` block as defined below.
 * @property resourceManagerId The ID of the role definition resource without base url.
 * @property roleName The role name of the role definition.
 * @property roleType The type of the role definition. Possible values are `AKVBuiltInRole` and `CustomRole`.
 * @property vaultBaseUrl
 */
public data class GetManagedHardwareSecurityModuleRoleDefinitionResult(
    public val assignableScopes: List,
    public val description: String,
    public val id: String,
    public val managedHsmId: String,
    public val name: String,
    public val permissions: List,
    public val resourceManagerId: String,
    public val roleName: String,
    public val roleType: String,
    public val vaultBaseUrl: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.GetManagedHardwareSecurityModuleRoleDefinitionResult): GetManagedHardwareSecurityModuleRoleDefinitionResult =
            GetManagedHardwareSecurityModuleRoleDefinitionResult(
                assignableScopes = javaType.assignableScopes().map({ args0 -> args0 }),
                description = javaType.description(),
                id = javaType.id(),
                managedHsmId = javaType.managedHsmId(),
                name = javaType.name(),
                permissions = javaType.permissions().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.keyvault.kotlin.outputs.GetManagedHardwareSecurityModuleRoleDefinitionPermission.Companion.toKotlin(args0)
                    })
                }),
                resourceManagerId = javaType.resourceManagerId(),
                roleName = javaType.roleName(),
                roleType = javaType.roleType(),
                vaultBaseUrl = javaType.vaultBaseUrl(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy