com.pulumi.azure.keyvault.kotlin.outputs.KeyVaultNetworkAcls.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 bypass Specifies which traffic can bypass the network rules. Possible values are `AzureServices` and `None`.
* @property defaultAction The Default Action to use when no rules match from `ip_rules` / `virtual_network_subnet_ids`. Possible values are `Allow` and `Deny`.
* @property ipRules One or more IP Addresses, or CIDR Blocks which should be able to access the Key Vault.
* @property virtualNetworkSubnetIds One or more Subnet IDs which should be able to access this Key Vault.
*/
public data class KeyVaultNetworkAcls(
public val bypass: String,
public val defaultAction: String,
public val ipRules: List? = null,
public val virtualNetworkSubnetIds: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.KeyVaultNetworkAcls):
KeyVaultNetworkAcls = KeyVaultNetworkAcls(
bypass = javaType.bypass(),
defaultAction = javaType.defaultAction(),
ipRules = javaType.ipRules().map({ args0 -> args0 }),
virtualNetworkSubnetIds = javaType.virtualNetworkSubnetIds().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy