Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.inputs
import com.pulumi.azure.keyvault.inputs.KeyVaultAccessPolicyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property applicationId The object ID of an Application in Azure Active Directory.
* @property certificatePermissions List of certificate permissions, must be one or more from the following: `Backup`, `Create`, `Delete`, `DeleteIssuers`, `Get`, `GetIssuers`, `Import`, `List`, `ListIssuers`, `ManageContacts`, `ManageIssuers`, `Purge`, `Recover`, `Restore`, `SetIssuers` and `Update`.
* @property keyPermissions List of key permissions. Possible values are `Backup`, `Create`, `Decrypt`, `Delete`, `Encrypt`, `Get`, `Import`, `List`, `Purge`, `Recover`, `Restore`, `Sign`, `UnwrapKey`, `Update`, `Verify`, `WrapKey`, `Release`, `Rotate`, `GetRotationPolicy` and `SetRotationPolicy`.
* @property objectId The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies.
* @property secretPermissions List of secret permissions, must be one or more from the following: `Backup`, `Delete`, `Get`, `List`, `Purge`, `Recover`, `Restore` and `Set`.
* @property storagePermissions List of storage permissions, must be one or more from the following: `Backup`, `Delete`, `DeleteSAS`, `Get`, `GetSAS`, `List`, `ListSAS`, `Purge`, `Recover`, `RegenerateKey`, `Restore`, `Set`, `SetSAS` and `Update`.
* @property tenantId The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. Must match the `tenant_id` used above.
*/
public data class KeyVaultAccessPolicyArgs(
public val applicationId: Output? = null,
public val certificatePermissions: Output>? = null,
public val keyPermissions: Output>? = null,
public val objectId: Output,
public val secretPermissions: Output>? = null,
public val storagePermissions: Output>? = null,
public val tenantId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.keyvault.inputs.KeyVaultAccessPolicyArgs =
com.pulumi.azure.keyvault.inputs.KeyVaultAccessPolicyArgs.builder()
.applicationId(applicationId?.applyValue({ args0 -> args0 }))
.certificatePermissions(
certificatePermissions?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.keyPermissions(keyPermissions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.objectId(objectId.applyValue({ args0 -> args0 }))
.secretPermissions(secretPermissions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.storagePermissions(storagePermissions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tenantId(tenantId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KeyVaultAccessPolicyArgs].
*/
@PulumiTagMarker
public class KeyVaultAccessPolicyArgsBuilder internal constructor() {
private var applicationId: Output? = null
private var certificatePermissions: Output>? = null
private var keyPermissions: Output>? = null
private var objectId: Output? = null
private var secretPermissions: Output>? = null
private var storagePermissions: Output>? = null
private var tenantId: Output? = null
/**
* @param value The object ID of an Application in Azure Active Directory.
*/
@JvmName("dqhctapspdvlqefs")
public suspend fun applicationId(`value`: Output) {
this.applicationId = value
}
/**
* @param value List of certificate permissions, must be one or more from the following: `Backup`, `Create`, `Delete`, `DeleteIssuers`, `Get`, `GetIssuers`, `Import`, `List`, `ListIssuers`, `ManageContacts`, `ManageIssuers`, `Purge`, `Recover`, `Restore`, `SetIssuers` and `Update`.
*/
@JvmName("wbqsporkarnowkkd")
public suspend fun certificatePermissions(`value`: Output>) {
this.certificatePermissions = value
}
@JvmName("lheyqnlkxmdanfvh")
public suspend fun certificatePermissions(vararg values: Output) {
this.certificatePermissions = Output.all(values.asList())
}
/**
* @param values List of certificate permissions, must be one or more from the following: `Backup`, `Create`, `Delete`, `DeleteIssuers`, `Get`, `GetIssuers`, `Import`, `List`, `ListIssuers`, `ManageContacts`, `ManageIssuers`, `Purge`, `Recover`, `Restore`, `SetIssuers` and `Update`.
*/
@JvmName("jmqbwnefaepfchik")
public suspend fun certificatePermissions(values: List