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

com.pulumi.azure.keyvault.kotlin.outputs.KeyVaultNetworkAcls.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

/**
 *
 * @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