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

com.pulumi.azure.mobile.kotlin.outputs.GetNetworkServicePccRule.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.mobile.kotlin.outputs

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

/**
 *
 * @property name Specifies the name which should be used for this Mobile Network Service.
 * @property precedence A precedence value that is used to decide between data flow policy rules when identifying the QoS values to use for a particular SIM. A lower value means a higher priority.
 * @property qosPolicies A `rule_qos_policy` block as defined below. The QoS policy to use for packets matching this rule.
 * @property serviceDataFlowTemplates A `service_data_flow_template` block as defined below. The set of service data flow templates to use for this PCC rule.
 * @property trafficControlEnabled Determines whether flows that match this data flow policy rule are permitted.
 */
public data class GetNetworkServicePccRule(
    public val name: String,
    public val precedence: Int,
    public val qosPolicies: List,
    public val serviceDataFlowTemplates: List,
    public val trafficControlEnabled: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.mobile.outputs.GetNetworkServicePccRule): GetNetworkServicePccRule = GetNetworkServicePccRule(
            name = javaType.name(),
            precedence = javaType.precedence(),
            qosPolicies = javaType.qosPolicies().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.mobile.kotlin.outputs.GetNetworkServicePccRuleQosPolicy.Companion.toKotlin(args0)
                })
            }),
            serviceDataFlowTemplates = javaType.serviceDataFlowTemplates().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.mobile.kotlin.outputs.GetNetworkServicePccRuleServiceDataFlowTemplate.Companion.toKotlin(args0)
                })
            }),
            trafficControlEnabled = javaType.trafficControlEnabled(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy