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

com.pulumi.azure.keyvault.kotlin.inputs.GetManagedHardwareSecurityModuleRoleDefinitionPlainArgs.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.inputs

import com.pulumi.azure.keyvault.inputs.GetManagedHardwareSecurityModuleRoleDefinitionPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getManagedHardwareSecurityModuleRoleDefinition.
 * @property managedHsmId
 * @property name The name in UUID notation of this KeyVault Role Definition.
 * @property vaultBaseUrl Specify the base URL of the Managed HSM resource.
 */
public data class GetManagedHardwareSecurityModuleRoleDefinitionPlainArgs(
    public val managedHsmId: String? = null,
    public val name: String,
    public val vaultBaseUrl: String? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.keyvault.inputs.GetManagedHardwareSecurityModuleRoleDefinitionPlainArgs =
        com.pulumi.azure.keyvault.inputs.GetManagedHardwareSecurityModuleRoleDefinitionPlainArgs.builder()
            .managedHsmId(managedHsmId?.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 }))
            .vaultBaseUrl(vaultBaseUrl?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetManagedHardwareSecurityModuleRoleDefinitionPlainArgs].
 */
@PulumiTagMarker
public class GetManagedHardwareSecurityModuleRoleDefinitionPlainArgsBuilder internal constructor() {
    private var managedHsmId: String? = null

    private var name: String? = null

    private var vaultBaseUrl: String? = null

    /**
     * @param value
     */
    @JvmName("xhpqgnygmnpvkbna")
    public suspend fun managedHsmId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.managedHsmId = mapped
    }

    /**
     * @param value The name in UUID notation of this KeyVault Role Definition.
     */
    @JvmName("rblgfvlgfrgmhqxc")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    /**
     * @param value Specify the base URL of the Managed HSM resource.
     */
    @JvmName("hjhrnwpnenfxkton")
    public suspend fun vaultBaseUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.vaultBaseUrl = mapped
    }

    internal fun build(): GetManagedHardwareSecurityModuleRoleDefinitionPlainArgs =
        GetManagedHardwareSecurityModuleRoleDefinitionPlainArgs(
            managedHsmId = managedHsmId,
            name = name ?: throw PulumiNullFieldException("name"),
            vaultBaseUrl = vaultBaseUrl,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy