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

com.pulumi.azure.mobile.kotlin.outputs.NetworkServiceServiceQosPolicy.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. Defaults to `9`. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.
 * @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`,.
 * @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`.
 * @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 NetworkServiceServiceQosPolicy(
    public val allocationAndRetentionPriorityLevel: Int? = null,
    public val maximumBitRate: NetworkServiceServiceQosPolicyMaximumBitRate,
    public val preemptionCapability: String? = null,
    public val preemptionVulnerability: String? = null,
    public val qosIndicator: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.mobile.outputs.NetworkServiceServiceQosPolicy):
            NetworkServiceServiceQosPolicy = NetworkServiceServiceQosPolicy(
            allocationAndRetentionPriorityLevel = javaType.allocationAndRetentionPriorityLevel().map({ args0 ->
                args0
            }).orElse(null),
            maximumBitRate = javaType.maximumBitRate().let({ args0 ->
                com.pulumi.azure.mobile.kotlin.outputs.NetworkServiceServiceQosPolicyMaximumBitRate.Companion.toKotlin(args0)
            }),
            preemptionCapability = javaType.preemptionCapability().map({ args0 -> args0 }).orElse(null),
            preemptionVulnerability = javaType.preemptionVulnerability().map({ args0 -> args0 }).orElse(null),
            qosIndicator = javaType.qosIndicator().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy