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

com.pulumi.azurenative.voiceservices.kotlin.outputs.PrimaryRegionPropertiesResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.voiceservices.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * The configuration used in this region as primary, and other regions as backup.
 * @property allowedMediaSourceAddressPrefixes The allowed source IP address or CIDR ranges for media
 * @property allowedSignalingSourceAddressPrefixes The allowed source IP address or CIDR ranges for signaling
 * @property esrpAddresses IP address to use to contact the ESRP from this region
 * @property operatorAddresses IP address to use to contact the operator network from this region
 */
public data class PrimaryRegionPropertiesResponse(
    public val allowedMediaSourceAddressPrefixes: List? = null,
    public val allowedSignalingSourceAddressPrefixes: List? = null,
    public val esrpAddresses: List? = null,
    public val operatorAddresses: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.voiceservices.outputs.PrimaryRegionPropertiesResponse): PrimaryRegionPropertiesResponse = PrimaryRegionPropertiesResponse(
            allowedMediaSourceAddressPrefixes = javaType.allowedMediaSourceAddressPrefixes().map({ args0 ->
                args0
            }),
            allowedSignalingSourceAddressPrefixes = javaType.allowedSignalingSourceAddressPrefixes().map({ args0 ->
                args0
            }),
            esrpAddresses = javaType.esrpAddresses().map({ args0 -> args0 }),
            operatorAddresses = javaType.operatorAddresses().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy