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

com.pulumi.azure.mobile.kotlin.outputs.GetNetworkServiceResult.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.mobile.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getNetworkService.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location The Azure Region where the Mobile Network Service should exist.
 * @property mobileNetworkId
 * @property name The name of the data flow template. This must be unique within the parent data flow policy rule.
 * @property pccRules A `pcc_rule` block as defined below. The set of PCC Rules that make up this service.
 * @property servicePrecedence A precedence value that is used to decide between services when identifying the QoS values to use for a particular SIM. A lower value means a higher priority.
 * @property serviceQosPolicies A `service_qos_policy` block as defined below. The QoS policy to use for packets matching this service.
 * @property tags A mapping of tags which should be assigned to the Mobile Network Service.
 */
public data class GetNetworkServiceResult(
    public val id: String,
    public val location: String,
    public val mobileNetworkId: String,
    public val name: String,
    public val pccRules: List,
    public val servicePrecedence: Int,
    public val serviceQosPolicies: List,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.mobile.outputs.GetNetworkServiceResult):
            GetNetworkServiceResult = GetNetworkServiceResult(
            id = javaType.id(),
            location = javaType.location(),
            mobileNetworkId = javaType.mobileNetworkId(),
            name = javaType.name(),
            pccRules = javaType.pccRules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.mobile.kotlin.outputs.GetNetworkServicePccRule.Companion.toKotlin(args0)
                })
            }),
            servicePrecedence = javaType.servicePrecedence(),
            serviceQosPolicies = javaType.serviceQosPolicies().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.mobile.kotlin.outputs.GetNetworkServiceServiceQosPolicy.Companion.toKotlin(args0)
                })
            }),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy