com.pulumi.azure.media.kotlin.inputs.ServiceAccountKeyDeliveryAccessControlArgs.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.media.kotlin.inputs
import com.pulumi.azure.media.inputs.ServiceAccountKeyDeliveryAccessControlArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property defaultAction The Default Action to use when no rules match from `ip_allow_list`. Possible values are `Allow` and `Deny`.
* @property ipAllowLists One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.
*/
public data class ServiceAccountKeyDeliveryAccessControlArgs(
public val defaultAction: Output? = null,
public val ipAllowLists: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.media.inputs.ServiceAccountKeyDeliveryAccessControlArgs =
com.pulumi.azure.media.inputs.ServiceAccountKeyDeliveryAccessControlArgs.builder()
.defaultAction(defaultAction?.applyValue({ args0 -> args0 }))
.ipAllowLists(ipAllowLists?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ServiceAccountKeyDeliveryAccessControlArgs].
*/
@PulumiTagMarker
public class ServiceAccountKeyDeliveryAccessControlArgsBuilder internal constructor() {
private var defaultAction: Output? = null
private var ipAllowLists: Output>? = null
/**
* @param value The Default Action to use when no rules match from `ip_allow_list`. Possible values are `Allow` and `Deny`.
*/
@JvmName("ingymgufwsybsbie")
public suspend fun defaultAction(`value`: Output) {
this.defaultAction = value
}
/**
* @param value One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.
*/
@JvmName("odgotvehvkniaktw")
public suspend fun ipAllowLists(`value`: Output>) {
this.ipAllowLists = value
}
@JvmName("lhallxsloqahflch")
public suspend fun ipAllowLists(vararg values: Output) {
this.ipAllowLists = Output.all(values.asList())
}
/**
* @param values One or more IP Addresses, or CIDR Blocks which should be able to access the Key Delivery.
*/
@JvmName("mertcfulxxiqglkq")
public suspend fun ipAllowLists(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy