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

com.pulumi.azure.voice.kotlin.inputs.ServicesCommunicationsGatewayServiceLocationArgs.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.voice.kotlin.inputs

import com.pulumi.azure.voice.inputs.ServicesCommunicationsGatewayServiceLocationArgs.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 allowedMediaSourceAddressPrefixes Specifies the allowed source IP address or CIDR ranges for media.
 * @property allowedSignalingSourceAddressPrefixes Specifies the allowed source IP address or CIDR ranges for signaling.
 * @property esrpAddresses IP address to use to contact the ESRP from this region.
 * !> **NOTE:** The `esrp_addresses` must be specified for each `service_location` when the`e911_type` is set to `DirectToEsrp`.  The `esrp_addresses` must not be specified for each `service_location` when the`e911_type` is set to `Standard`.
 * @property location Specifies the region in which the resources needed for Teams Calling will be deployed.
 * @property operatorAddresses IP address to use to contact the operator network from this region.
 */
public data class ServicesCommunicationsGatewayServiceLocationArgs(
    public val allowedMediaSourceAddressPrefixes: Output>? = null,
    public val allowedSignalingSourceAddressPrefixes: Output>? = null,
    public val esrpAddresses: Output>? = null,
    public val location: Output,
    public val operatorAddresses: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.voice.inputs.ServicesCommunicationsGatewayServiceLocationArgs =
        com.pulumi.azure.voice.inputs.ServicesCommunicationsGatewayServiceLocationArgs.builder()
            .allowedMediaSourceAddressPrefixes(
                allowedMediaSourceAddressPrefixes?.applyValue({ args0 ->
                    args0.map({ args0 -> args0 })
                }),
            )
            .allowedSignalingSourceAddressPrefixes(
                allowedSignalingSourceAddressPrefixes?.applyValue({ args0 ->
                    args0.map({ args0 -> args0 })
                }),
            )
            .esrpAddresses(esrpAddresses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .location(location.applyValue({ args0 -> args0 }))
            .operatorAddresses(operatorAddresses.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [ServicesCommunicationsGatewayServiceLocationArgs].
 */
@PulumiTagMarker
public class ServicesCommunicationsGatewayServiceLocationArgsBuilder internal constructor() {
    private var allowedMediaSourceAddressPrefixes: Output>? = null

    private var allowedSignalingSourceAddressPrefixes: Output>? = null

    private var esrpAddresses: Output>? = null

    private var location: Output? = null

    private var operatorAddresses: Output>? = null

    /**
     * @param value Specifies the allowed source IP address or CIDR ranges for media.
     */
    @JvmName("ltitwvicamgmvisl")
    public suspend fun allowedMediaSourceAddressPrefixes(`value`: Output>) {
        this.allowedMediaSourceAddressPrefixes = value
    }

    @JvmName("hwjhlydsqasevfkv")
    public suspend fun allowedMediaSourceAddressPrefixes(vararg values: Output) {
        this.allowedMediaSourceAddressPrefixes = Output.all(values.asList())
    }

    /**
     * @param values Specifies the allowed source IP address or CIDR ranges for media.
     */
    @JvmName("aoqohgkjayrvvlob")
    public suspend fun allowedMediaSourceAddressPrefixes(values: List>) {
        this.allowedMediaSourceAddressPrefixes = Output.all(values)
    }

    /**
     * @param value Specifies the allowed source IP address or CIDR ranges for signaling.
     */
    @JvmName("evqnwigwqhxxkgny")
    public suspend fun allowedSignalingSourceAddressPrefixes(`value`: Output>) {
        this.allowedSignalingSourceAddressPrefixes = value
    }

    @JvmName("ytwxahwfyemtnatt")
    public suspend fun allowedSignalingSourceAddressPrefixes(vararg values: Output) {
        this.allowedSignalingSourceAddressPrefixes = Output.all(values.asList())
    }

    /**
     * @param values Specifies the allowed source IP address or CIDR ranges for signaling.
     */
    @JvmName("kphqqockbgdyfspv")
    public suspend fun allowedSignalingSourceAddressPrefixes(values: List>) {
        this.allowedSignalingSourceAddressPrefixes = Output.all(values)
    }

    /**
     * @param value IP address to use to contact the ESRP from this region.
     * !> **NOTE:** The `esrp_addresses` must be specified for each `service_location` when the`e911_type` is set to `DirectToEsrp`.  The `esrp_addresses` must not be specified for each `service_location` when the`e911_type` is set to `Standard`.
     */
    @JvmName("qptuyugawkeesguq")
    public suspend fun esrpAddresses(`value`: Output>) {
        this.esrpAddresses = value
    }

    @JvmName("yleunwcjffnetcug")
    public suspend fun esrpAddresses(vararg values: Output) {
        this.esrpAddresses = Output.all(values.asList())
    }

    /**
     * @param values IP address to use to contact the ESRP from this region.
     * !> **NOTE:** The `esrp_addresses` must be specified for each `service_location` when the`e911_type` is set to `DirectToEsrp`.  The `esrp_addresses` must not be specified for each `service_location` when the`e911_type` is set to `Standard`.
     */
    @JvmName("vgvvalkfajevefgj")
    public suspend fun esrpAddresses(values: List>) {
        this.esrpAddresses = Output.all(values)
    }

    /**
     * @param value Specifies the region in which the resources needed for Teams Calling will be deployed.
     */
    @JvmName("ovwemsfmxxqyknqo")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value IP address to use to contact the operator network from this region.
     */
    @JvmName("xchntojxgxthebxp")
    public suspend fun operatorAddresses(`value`: Output>) {
        this.operatorAddresses = value
    }

    @JvmName("oqwhnlomykeirdgh")
    public suspend fun operatorAddresses(vararg values: Output) {
        this.operatorAddresses = Output.all(values.asList())
    }

    /**
     * @param values IP address to use to contact the operator network from this region.
     */
    @JvmName("mynwaoiyjlvlobjk")
    public suspend fun operatorAddresses(values: List>) {
        this.operatorAddresses = Output.all(values)
    }

    /**
     * @param value Specifies the allowed source IP address or CIDR ranges for media.
     */
    @JvmName("xsekbxrqeligjhek")
    public suspend fun allowedMediaSourceAddressPrefixes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowedMediaSourceAddressPrefixes = mapped
    }

    /**
     * @param values Specifies the allowed source IP address or CIDR ranges for media.
     */
    @JvmName("hdmvykilrjoqwreo")
    public suspend fun allowedMediaSourceAddressPrefixes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowedMediaSourceAddressPrefixes = mapped
    }

    /**
     * @param value Specifies the allowed source IP address or CIDR ranges for signaling.
     */
    @JvmName("trhtajoqjyuyakdy")
    public suspend fun allowedSignalingSourceAddressPrefixes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowedSignalingSourceAddressPrefixes = mapped
    }

    /**
     * @param values Specifies the allowed source IP address or CIDR ranges for signaling.
     */
    @JvmName("sisidsrfykoaykvt")
    public suspend fun allowedSignalingSourceAddressPrefixes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowedSignalingSourceAddressPrefixes = mapped
    }

    /**
     * @param value IP address to use to contact the ESRP from this region.
     * !> **NOTE:** The `esrp_addresses` must be specified for each `service_location` when the`e911_type` is set to `DirectToEsrp`.  The `esrp_addresses` must not be specified for each `service_location` when the`e911_type` is set to `Standard`.
     */
    @JvmName("hdarofulqlpqhrai")
    public suspend fun esrpAddresses(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.esrpAddresses = mapped
    }

    /**
     * @param values IP address to use to contact the ESRP from this region.
     * !> **NOTE:** The `esrp_addresses` must be specified for each `service_location` when the`e911_type` is set to `DirectToEsrp`.  The `esrp_addresses` must not be specified for each `service_location` when the`e911_type` is set to `Standard`.
     */
    @JvmName("simmptftqxkrjcbs")
    public suspend fun esrpAddresses(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.esrpAddresses = mapped
    }

    /**
     * @param value Specifies the region in which the resources needed for Teams Calling will be deployed.
     */
    @JvmName("ukxbvsvflutxrfmw")
    public suspend fun location(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value IP address to use to contact the operator network from this region.
     */
    @JvmName("afcudcggrutrldug")
    public suspend fun operatorAddresses(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.operatorAddresses = mapped
    }

    /**
     * @param values IP address to use to contact the operator network from this region.
     */
    @JvmName("uabvnjlvjialpqni")
    public suspend fun operatorAddresses(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.operatorAddresses = mapped
    }

    internal fun build(): ServicesCommunicationsGatewayServiceLocationArgs =
        ServicesCommunicationsGatewayServiceLocationArgs(
            allowedMediaSourceAddressPrefixes = allowedMediaSourceAddressPrefixes,
            allowedSignalingSourceAddressPrefixes = allowedSignalingSourceAddressPrefixes,
            esrpAddresses = esrpAddresses,
            location = location ?: throw PulumiNullFieldException("location"),
            operatorAddresses = operatorAddresses ?: throw PulumiNullFieldException("operatorAddresses"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy