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

com.pulumi.azure.mobile.kotlin.outputs.NetworkServicePccRuleQosPolicy.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.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property allocationAndRetentionPriorityLevel QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of `preemption_capability` and `preemption_vulnerability` allow it. 1 is the highest level of priority. If this field is not specified then `qos_indicator` is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
 * @property guaranteedBitRate A `guaranteed_bit_rate` block as defined below. The Guaranteed Bit Rate (GBR) for all service data flows that use this PCC Rule. If it's not specified, there will be no GBR set for the PCC Rule that uses this QoS definition.
 * @property maximumBitRate A `maximum_bit_rate` block as defined below. The Maximum Bit Rate (MBR) for all service data flows that use this PCC Rule or Service.
 * @property preemptionCapability The Preemption Capability of a QoS Flow controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are `NotPreempt` and `MayPreempt`, Defaults to `NotPreempt`.
 * @property preemptionVulnerability The Preemption Vulnerability of a QoS Flow controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters. Possible values are `NotPreemptable` and `Preemptable`. Defaults to `Preemptable`.
 * @property qosIndicator The QoS Indicator (5QI for 5G network /QCI for 4G net work) value identifies a set of QoS characteristics that control QoS forwarding treatment for QoS flows or EPS bearers. Recommended values: 5-9; 69-70; 79-80. Must be between `1` and `127`.
 */
public data class NetworkServicePccRuleQosPolicy(
    public val allocationAndRetentionPriorityLevel: Int? = null,
    public val guaranteedBitRate: NetworkServicePccRuleQosPolicyGuaranteedBitRate? = null,
    public val maximumBitRate: NetworkServicePccRuleQosPolicyMaximumBitRate,
    public val preemptionCapability: String? = null,
    public val preemptionVulnerability: String? = null,
    public val qosIndicator: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.mobile.outputs.NetworkServicePccRuleQosPolicy): NetworkServicePccRuleQosPolicy = NetworkServicePccRuleQosPolicy(
            allocationAndRetentionPriorityLevel = javaType.allocationAndRetentionPriorityLevel().map({ args0 ->
                args0
            }).orElse(null),
            guaranteedBitRate = javaType.guaranteedBitRate().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.mobile.kotlin.outputs.NetworkServicePccRuleQosPolicyGuaranteedBitRate.Companion.toKotlin(args0)
                })
            }).orElse(null),
            maximumBitRate = javaType.maximumBitRate().let({ args0 ->
                com.pulumi.azure.mobile.kotlin.outputs.NetworkServicePccRuleQosPolicyMaximumBitRate.Companion.toKotlin(args0)
            }),
            preemptionCapability = javaType.preemptionCapability().map({ args0 -> args0 }).orElse(null),
            preemptionVulnerability = javaType.preemptionVulnerability().map({ args0 -> args0 }).orElse(null),
            qosIndicator = javaType.qosIndicator(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy