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

com.pulumi.azurenative.mobilenetwork.kotlin.SimPolicyArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.mobilenetwork.kotlin

import com.pulumi.azurenative.mobilenetwork.SimPolicyArgs.builder
import com.pulumi.azurenative.mobilenetwork.kotlin.inputs.AmbrArgs
import com.pulumi.azurenative.mobilenetwork.kotlin.inputs.AmbrArgsBuilder
import com.pulumi.azurenative.mobilenetwork.kotlin.inputs.SliceConfigurationArgs
import com.pulumi.azurenative.mobilenetwork.kotlin.inputs.SliceConfigurationArgsBuilder
import com.pulumi.azurenative.mobilenetwork.kotlin.inputs.SliceResourceIdArgs
import com.pulumi.azurenative.mobilenetwork.kotlin.inputs.SliceResourceIdArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * SIM policy resource.
 * Azure REST API version: 2023-06-01. Prior API version in Azure Native 1.x: 2022-04-01-preview.
 * Other available API versions: 2022-04-01-preview, 2022-11-01, 2023-09-01, 2024-02-01, 2024-04-01.
 * ## Example Usage
 * ### Create SIM policy
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using AzureNative = Pulumi.AzureNative;
 * return await Deployment.RunAsync(() =>
 * {
 *     var simPolicy = new AzureNative.MobileNetwork.SimPolicy("simPolicy", new()
 *     {
 *         DefaultSlice = new AzureNative.MobileNetwork.Inputs.SliceResourceIdArgs
 *         {
 *             Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice",
 *         },
 *         Location = "eastus",
 *         MobileNetworkName = "testMobileNetwork",
 *         RegistrationTimer = 3240,
 *         ResourceGroupName = "rg1",
 *         SimPolicyName = "testPolicy",
 *         SliceConfigurations = new[]
 *         {
 *             new AzureNative.MobileNetwork.Inputs.SliceConfigurationArgs
 *             {
 *                 DataNetworkConfigurations = new[]
 *                 {
 *                     new AzureNative.MobileNetwork.Inputs.DataNetworkConfigurationArgs
 *                     {
 *                         AdditionalAllowedSessionTypes = new() { },
 *                         AllocationAndRetentionPriorityLevel = 9,
 *                         AllowedServices = new[]
 *                         {
 *                             new AzureNative.MobileNetwork.Inputs.ServiceResourceIdArgs
 *                             {
 *                                 Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/testService",
 *                             },
 *                         },
 *                         DataNetwork = new AzureNative.MobileNetwork.Inputs.DataNetworkResourceIdArgs
 *                         {
 *                             Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork",
 *                         },
 *                         DefaultSessionType = AzureNative.MobileNetwork.PduSessionType.IPv4,
 *                         FiveQi = 9,
 *                         MaximumNumberOfBufferedPackets = 200,
 *                         PreemptionCapability = AzureNative.MobileNetwork.PreemptionCapability.NotPreempt,
 *                         PreemptionVulnerability = AzureNative.MobileNetwork.PreemptionVulnerability.Preemptable,
 *                         SessionAmbr = new AzureNative.MobileNetwork.Inputs.AmbrArgs
 *                         {
 *                             Downlink = "1 Gbps",
 *                             Uplink = "500 Mbps",
 *                         },
 *                     },
 *                 },
 *                 DefaultDataNetwork = new AzureNative.MobileNetwork.Inputs.DataNetworkResourceIdArgs
 *                 {
 *                     Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork",
 *                 },
 *                 Slice = new AzureNative.MobileNetwork.Inputs.SliceResourceIdArgs
 *                 {
 *                     Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice",
 *                 },
 *             },
 *         },
 *         UeAmbr = new AzureNative.MobileNetwork.Inputs.AmbrArgs
 *         {
 *             Downlink = "1 Gbps",
 *             Uplink = "500 Mbps",
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	mobilenetwork "github.com/pulumi/pulumi-azure-native-sdk/mobilenetwork/v2"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		_, err := mobilenetwork.NewSimPolicy(ctx, "simPolicy", &mobilenetwork.SimPolicyArgs{
 * 			DefaultSlice: &mobilenetwork.SliceResourceIdArgs{
 * 				Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice"),
 * 			},
 * 			Location:          pulumi.String("eastus"),
 * 			MobileNetworkName: pulumi.String("testMobileNetwork"),
 * 			RegistrationTimer: pulumi.Int(3240),
 * 			ResourceGroupName: pulumi.String("rg1"),
 * 			SimPolicyName:     pulumi.String("testPolicy"),
 * 			SliceConfigurations: mobilenetwork.SliceConfigurationArray{
 * 				&mobilenetwork.SliceConfigurationArgs{
 * 					DataNetworkConfigurations: mobilenetwork.DataNetworkConfigurationArray{
 * 						&mobilenetwork.DataNetworkConfigurationArgs{
 * 							AdditionalAllowedSessionTypes:       pulumi.StringArray{},
 * 							AllocationAndRetentionPriorityLevel: pulumi.Int(9),
 * 							AllowedServices: mobilenetwork.ServiceResourceIdArray{
 * 								&mobilenetwork.ServiceResourceIdArgs{
 * 									Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/testService"),
 * 								},
 * 							},
 * 							DataNetwork: &mobilenetwork.DataNetworkResourceIdArgs{
 * 								Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork"),
 * 							},
 * 							DefaultSessionType:             pulumi.String(mobilenetwork.PduSessionTypeIPv4),
 * 							FiveQi:                         pulumi.Int(9),
 * 							MaximumNumberOfBufferedPackets: pulumi.Int(200),
 * 							PreemptionCapability:           pulumi.String(mobilenetwork.PreemptionCapabilityNotPreempt),
 * 							PreemptionVulnerability:        pulumi.String(mobilenetwork.PreemptionVulnerabilityPreemptable),
 * 							SessionAmbr: &mobilenetwork.AmbrArgs{
 * 								Downlink: pulumi.String("1 Gbps"),
 * 								Uplink:   pulumi.String("500 Mbps"),
 * 							},
 * 						},
 * 					},
 * 					DefaultDataNetwork: &mobilenetwork.DataNetworkResourceIdArgs{
 * 						Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork"),
 * 					},
 * 					Slice: &mobilenetwork.SliceResourceIdArgs{
 * 						Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice"),
 * 					},
 * 				},
 * 			},
 * 			UeAmbr: &mobilenetwork.AmbrArgs{
 * 				Downlink: pulumi.String("1 Gbps"),
 * 				Uplink:   pulumi.String("500 Mbps"),
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.azurenative.mobilenetwork.SimPolicy;
 * import com.pulumi.azurenative.mobilenetwork.SimPolicyArgs;
 * import com.pulumi.azurenative.mobilenetwork.inputs.SliceResourceIdArgs;
 * import com.pulumi.azurenative.mobilenetwork.inputs.SliceConfigurationArgs;
 * import com.pulumi.azurenative.mobilenetwork.inputs.DataNetworkResourceIdArgs;
 * import com.pulumi.azurenative.mobilenetwork.inputs.AmbrArgs;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 *     public static void stack(Context ctx) {
 *         var simPolicy = new SimPolicy("simPolicy", SimPolicyArgs.builder()
 *             .defaultSlice(SliceResourceIdArgs.builder()
 *                 .id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice")
 *                 .build())
 *             .location("eastus")
 *             .mobileNetworkName("testMobileNetwork")
 *             .registrationTimer(3240)
 *             .resourceGroupName("rg1")
 *             .simPolicyName("testPolicy")
 *             .sliceConfigurations(SliceConfigurationArgs.builder()
 *                 .dataNetworkConfigurations(DataNetworkConfigurationArgs.builder()
 *                     .additionalAllowedSessionTypes()
 *                     .allocationAndRetentionPriorityLevel(9)
 *                     .allowedServices(ServiceResourceIdArgs.builder()
 *                         .id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/testService")
 *                         .build())
 *                     .dataNetwork(DataNetworkResourceIdArgs.builder()
 *                         .id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork")
 *                         .build())
 *                     .defaultSessionType("IPv4")
 *                     .fiveQi(9)
 *                     .maximumNumberOfBufferedPackets(200)
 *                     .preemptionCapability("NotPreempt")
 *                     .preemptionVulnerability("Preemptable")
 *                     .sessionAmbr(AmbrArgs.builder()
 *                         .downlink("1 Gbps")
 *                         .uplink("500 Mbps")
 *                         .build())
 *                     .build())
 *                 .defaultDataNetwork(DataNetworkResourceIdArgs.builder()
 *                     .id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork")
 *                     .build())
 *                 .slice(SliceResourceIdArgs.builder()
 *                     .id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice")
 *                     .build())
 *                 .build())
 *             .ueAmbr(AmbrArgs.builder()
 *                 .downlink("1 Gbps")
 *                 .uplink("500 Mbps")
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ## Import
 * An existing resource can be imported using its type token, name, and identifier, e.g.
 * ```sh
 * $ pulumi import azure-native:mobilenetwork:SimPolicy testPolicy /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies/{simPolicyName}
 * ```
 * @property defaultSlice The default slice to use if the UE does not explicitly specify it. This slice must exist in the `sliceConfigurations` map. The slice must be in the same location as the SIM policy.
 * @property location The geo-location where the resource lives
 * @property mobileNetworkName The name of the mobile network.
 * @property registrationTimer UE periodic registration update timer (5G) or UE periodic tracking area update timer (4G), in seconds.
 * @property resourceGroupName The name of the resource group. The name is case insensitive.
 * @property rfspIndex RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413. This is an optional setting and by default is unspecified.
 * @property simPolicyName The name of the SIM policy.
 * @property sliceConfigurations The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
 * @property tags Resource tags.
 * @property ueAmbr Aggregate maximum bit rate across all non-GBR QoS flows of all PDU sessions of a given UE. See 3GPP TS23.501 section 5.7.2.6 for a full description of the UE-AMBR.
 */
public data class SimPolicyArgs(
    public val defaultSlice: Output? = null,
    public val location: Output? = null,
    public val mobileNetworkName: Output? = null,
    public val registrationTimer: Output? = null,
    public val resourceGroupName: Output? = null,
    public val rfspIndex: Output? = null,
    public val simPolicyName: Output? = null,
    public val sliceConfigurations: Output>? = null,
    public val tags: Output>? = null,
    public val ueAmbr: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.mobilenetwork.SimPolicyArgs =
        com.pulumi.azurenative.mobilenetwork.SimPolicyArgs.builder()
            .defaultSlice(defaultSlice?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .location(location?.applyValue({ args0 -> args0 }))
            .mobileNetworkName(mobileNetworkName?.applyValue({ args0 -> args0 }))
            .registrationTimer(registrationTimer?.applyValue({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
            .rfspIndex(rfspIndex?.applyValue({ args0 -> args0 }))
            .simPolicyName(simPolicyName?.applyValue({ args0 -> args0 }))
            .sliceConfigurations(
                sliceConfigurations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
            .ueAmbr(ueAmbr?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [SimPolicyArgs].
 */
@PulumiTagMarker
public class SimPolicyArgsBuilder internal constructor() {
    private var defaultSlice: Output? = null

    private var location: Output? = null

    private var mobileNetworkName: Output? = null

    private var registrationTimer: Output? = null

    private var resourceGroupName: Output? = null

    private var rfspIndex: Output? = null

    private var simPolicyName: Output? = null

    private var sliceConfigurations: Output>? = null

    private var tags: Output>? = null

    private var ueAmbr: Output? = null

    /**
     * @param value The default slice to use if the UE does not explicitly specify it. This slice must exist in the `sliceConfigurations` map. The slice must be in the same location as the SIM policy.
     */
    @JvmName("xfdlibiayqewvwnn")
    public suspend fun defaultSlice(`value`: Output) {
        this.defaultSlice = value
    }

    /**
     * @param value The geo-location where the resource lives
     */
    @JvmName("cqbdqcqlohhcbgit")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value The name of the mobile network.
     */
    @JvmName("xbaucrdrynnmvdob")
    public suspend fun mobileNetworkName(`value`: Output) {
        this.mobileNetworkName = value
    }

    /**
     * @param value UE periodic registration update timer (5G) or UE periodic tracking area update timer (4G), in seconds.
     */
    @JvmName("lddipopiwnukfoso")
    public suspend fun registrationTimer(`value`: Output) {
        this.registrationTimer = value
    }

    /**
     * @param value The name of the resource group. The name is case insensitive.
     */
    @JvmName("swygcwtwfggflnjm")
    public suspend fun resourceGroupName(`value`: Output) {
        this.resourceGroupName = value
    }

    /**
     * @param value RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413. This is an optional setting and by default is unspecified.
     */
    @JvmName("ytalpvbkaljlehsc")
    public suspend fun rfspIndex(`value`: Output) {
        this.rfspIndex = value
    }

    /**
     * @param value The name of the SIM policy.
     */
    @JvmName("hmgerwfumkjchnmp")
    public suspend fun simPolicyName(`value`: Output) {
        this.simPolicyName = value
    }

    /**
     * @param value The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
     */
    @JvmName("htwtobyryogtjcrn")
    public suspend fun sliceConfigurations(`value`: Output>) {
        this.sliceConfigurations = value
    }

    @JvmName("hbagbcmkigamlfsv")
    public suspend fun sliceConfigurations(vararg values: Output) {
        this.sliceConfigurations = Output.all(values.asList())
    }

    /**
     * @param values The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
     */
    @JvmName("vvcgwbaulealsesw")
    public suspend fun sliceConfigurations(values: List>) {
        this.sliceConfigurations = Output.all(values)
    }

    /**
     * @param value Resource tags.
     */
    @JvmName("xfnaifuavouofibq")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value Aggregate maximum bit rate across all non-GBR QoS flows of all PDU sessions of a given UE. See 3GPP TS23.501 section 5.7.2.6 for a full description of the UE-AMBR.
     */
    @JvmName("ddqriuvkbrsqcmsb")
    public suspend fun ueAmbr(`value`: Output) {
        this.ueAmbr = value
    }

    /**
     * @param value The default slice to use if the UE does not explicitly specify it. This slice must exist in the `sliceConfigurations` map. The slice must be in the same location as the SIM policy.
     */
    @JvmName("dnkkneaellcqiibp")
    public suspend fun defaultSlice(`value`: SliceResourceIdArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultSlice = mapped
    }

    /**
     * @param argument The default slice to use if the UE does not explicitly specify it. This slice must exist in the `sliceConfigurations` map. The slice must be in the same location as the SIM policy.
     */
    @JvmName("mdrhxtythutogvid")
    public suspend fun defaultSlice(argument: suspend SliceResourceIdArgsBuilder.() -> Unit) {
        val toBeMapped = SliceResourceIdArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.defaultSlice = mapped
    }

    /**
     * @param value The geo-location where the resource lives
     */
    @JvmName("evwcmnfnnwyulgkp")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value The name of the mobile network.
     */
    @JvmName("lqhxpsufskcgqdrf")
    public suspend fun mobileNetworkName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mobileNetworkName = mapped
    }

    /**
     * @param value UE periodic registration update timer (5G) or UE periodic tracking area update timer (4G), in seconds.
     */
    @JvmName("lakmqspjfatmirwx")
    public suspend fun registrationTimer(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.registrationTimer = mapped
    }

    /**
     * @param value The name of the resource group. The name is case insensitive.
     */
    @JvmName("tvrtptrbnuktfldr")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroupName = mapped
    }

    /**
     * @param value RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413. This is an optional setting and by default is unspecified.
     */
    @JvmName("aqassqswbrllodga")
    public suspend fun rfspIndex(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rfspIndex = mapped
    }

    /**
     * @param value The name of the SIM policy.
     */
    @JvmName("wxsshykjvntfyxdf")
    public suspend fun simPolicyName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.simPolicyName = mapped
    }

    /**
     * @param value The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
     */
    @JvmName("xtahfjjrsqmcywll")
    public suspend fun sliceConfigurations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sliceConfigurations = mapped
    }

    /**
     * @param argument The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
     */
    @JvmName("itgqtdgjvjakxyue")
    public suspend fun sliceConfigurations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            SliceConfigurationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sliceConfigurations = mapped
    }

    /**
     * @param argument The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
     */
    @JvmName("ajxlptvhqkewxsoy")
    public suspend fun sliceConfigurations(vararg argument: suspend SliceConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            SliceConfigurationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.sliceConfigurations = mapped
    }

    /**
     * @param argument The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
     */
    @JvmName("fyryuapjpknexuvr")
    public suspend fun sliceConfigurations(argument: suspend SliceConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(SliceConfigurationArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.sliceConfigurations = mapped
    }

    /**
     * @param values The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
     */
    @JvmName("epdkqyblumsvmvpb")
    public suspend fun sliceConfigurations(vararg values: SliceConfigurationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sliceConfigurations = mapped
    }

    /**
     * @param value Resource tags.
     */
    @JvmName("voiyhslkkggctaik")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values Resource tags.
     */
    @JvmName("lajjblphugxyqwmv")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value Aggregate maximum bit rate across all non-GBR QoS flows of all PDU sessions of a given UE. See 3GPP TS23.501 section 5.7.2.6 for a full description of the UE-AMBR.
     */
    @JvmName("fkplcbawytkmufsv")
    public suspend fun ueAmbr(`value`: AmbrArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ueAmbr = mapped
    }

    /**
     * @param argument Aggregate maximum bit rate across all non-GBR QoS flows of all PDU sessions of a given UE. See 3GPP TS23.501 section 5.7.2.6 for a full description of the UE-AMBR.
     */
    @JvmName("skfhmqboeiqxrvyp")
    public suspend fun ueAmbr(argument: suspend AmbrArgsBuilder.() -> Unit) {
        val toBeMapped = AmbrArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.ueAmbr = mapped
    }

    internal fun build(): SimPolicyArgs = SimPolicyArgs(
        defaultSlice = defaultSlice,
        location = location,
        mobileNetworkName = mobileNetworkName,
        registrationTimer = registrationTimer,
        resourceGroupName = resourceGroupName,
        rfspIndex = rfspIndex,
        simPolicyName = simPolicyName,
        sliceConfigurations = sliceConfigurations,
        tags = tags,
        ueAmbr = ueAmbr,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy