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

com.pulumi.azure.mobile.kotlin.NetworkSimArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.mobile.kotlin

import com.pulumi.azure.mobile.NetworkSimArgs.builder
import com.pulumi.azure.mobile.kotlin.inputs.NetworkSimStaticIpConfigurationArgs
import com.pulumi.azure.mobile.kotlin.inputs.NetworkSimStaticIpConfigurationArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Manages a Mobile Network Sim.
 * ## Example Usage
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleNetwork = new azure.mobile.Network("example", {
 *     name: "example-mn",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     mobileCountryCode: "001",
 *     mobileNetworkCode: "01",
 * });
 * const exampleNetworkSimGroup = new azure.mobile.NetworkSimGroup("example", {
 *     name: "example-mnsg",
 *     location: example.location,
 *     mobileNetworkId: exampleNetwork.id,
 * });
 * const exampleNetworkSlice = new azure.mobile.NetworkSlice("example", {
 *     name: "example-slice",
 *     mobileNetworkId: exampleNetwork.id,
 *     location: example.location,
 *     singleNetworkSliceSelectionAssistanceInformation: {
 *         sliceServiceType: 1,
 *     },
 * });
 * const exampleNetworkAttachedDataNetwork = new azure.mobile.NetworkAttachedDataNetwork("example", {
 *     mobileNetworkDataNetworkName: exampleAzurermMobileNetworkDataNetwork.name,
 *     mobileNetworkPacketCoreDataPlaneId: exampleAzurermMobileNetworkPacketCoreDataPlane.id,
 *     location: example.location,
 *     dnsAddresses: ["1.1.1.1"],
 *     userEquipmentAddressPoolPrefixes: ["2.4.0.0/24"],
 *     userEquipmentStaticAddressPoolPrefixes: ["2.4.1.0/24"],
 *     userPlaneAccessName: "test",
 *     userPlaneAccessIpv4Address: "10.204.141.4",
 *     userPlaneAccessIpv4Gateway: "10.204.141.1",
 *     userPlaneAccessIpv4Subnet: "10.204.141.0/24",
 * });
 * const exampleNetworkSim = new azure.mobile.NetworkSim("example", {
 *     name: "example-sim",
 *     mobileNetworkSimGroupId: exampleNetworkSimGroup.id,
 *     authenticationKey: "00000000000000000000000000000000",
 *     integratedCircuitCardIdentifier: "8900000000000000000",
 *     internationalMobileSubscriberIdentity: "000000000000000",
 *     operatorKeyCode: "00000000000000000000000000000000",
 *     staticIpConfigurations: [{
 *         attachedDataNetworkId: test.id,
 *         sliceId: testAzurermMobileNetworkSlice.id,
 *         staticIpv4Address: "2.4.0.1",
 *     }],
 * });
 * ```
 * ```python
 * import pulumi
 * import pulumi_azure as azure
 * example = azure.core.ResourceGroup("example",
 *     name="example-resources",
 *     location="West Europe")
 * example_network = azure.mobile.Network("example",
 *     name="example-mn",
 *     location=example.location,
 *     resource_group_name=example.name,
 *     mobile_country_code="001",
 *     mobile_network_code="01")
 * example_network_sim_group = azure.mobile.NetworkSimGroup("example",
 *     name="example-mnsg",
 *     location=example.location,
 *     mobile_network_id=example_network.id)
 * example_network_slice = azure.mobile.NetworkSlice("example",
 *     name="example-slice",
 *     mobile_network_id=example_network.id,
 *     location=example.location,
 *     single_network_slice_selection_assistance_information={
 *         "slice_service_type": 1,
 *     })
 * example_network_attached_data_network = azure.mobile.NetworkAttachedDataNetwork("example",
 *     mobile_network_data_network_name=example_azurerm_mobile_network_data_network["name"],
 *     mobile_network_packet_core_data_plane_id=example_azurerm_mobile_network_packet_core_data_plane["id"],
 *     location=example.location,
 *     dns_addresses=["1.1.1.1"],
 *     user_equipment_address_pool_prefixes=["2.4.0.0/24"],
 *     user_equipment_static_address_pool_prefixes=["2.4.1.0/24"],
 *     user_plane_access_name="test",
 *     user_plane_access_ipv4_address="10.204.141.4",
 *     user_plane_access_ipv4_gateway="10.204.141.1",
 *     user_plane_access_ipv4_subnet="10.204.141.0/24")
 * example_network_sim = azure.mobile.NetworkSim("example",
 *     name="example-sim",
 *     mobile_network_sim_group_id=example_network_sim_group.id,
 *     authentication_key="00000000000000000000000000000000",
 *     integrated_circuit_card_identifier="8900000000000000000",
 *     international_mobile_subscriber_identity="000000000000000",
 *     operator_key_code="00000000000000000000000000000000",
 *     static_ip_configurations=[{
 *         "attached_data_network_id": test["id"],
 *         "slice_id": test_azurerm_mobile_network_slice["id"],
 *         "static_ipv4_address": "2.4.0.1",
 *     }])
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using Pulumi;
 * using Azure = Pulumi.Azure;
 * return await Deployment.RunAsync(() =>
 * {
 *     var example = new Azure.Core.ResourceGroup("example", new()
 *     {
 *         Name = "example-resources",
 *         Location = "West Europe",
 *     });
 *     var exampleNetwork = new Azure.Mobile.Network("example", new()
 *     {
 *         Name = "example-mn",
 *         Location = example.Location,
 *         ResourceGroupName = example.Name,
 *         MobileCountryCode = "001",
 *         MobileNetworkCode = "01",
 *     });
 *     var exampleNetworkSimGroup = new Azure.Mobile.NetworkSimGroup("example", new()
 *     {
 *         Name = "example-mnsg",
 *         Location = example.Location,
 *         MobileNetworkId = exampleNetwork.Id,
 *     });
 *     var exampleNetworkSlice = new Azure.Mobile.NetworkSlice("example", new()
 *     {
 *         Name = "example-slice",
 *         MobileNetworkId = exampleNetwork.Id,
 *         Location = example.Location,
 *         SingleNetworkSliceSelectionAssistanceInformation = new Azure.Mobile.Inputs.NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs
 *         {
 *             SliceServiceType = 1,
 *         },
 *     });
 *     var exampleNetworkAttachedDataNetwork = new Azure.Mobile.NetworkAttachedDataNetwork("example", new()
 *     {
 *         MobileNetworkDataNetworkName = exampleAzurermMobileNetworkDataNetwork.Name,
 *         MobileNetworkPacketCoreDataPlaneId = exampleAzurermMobileNetworkPacketCoreDataPlane.Id,
 *         Location = example.Location,
 *         DnsAddresses = new[]
 *         {
 *             "1.1.1.1",
 *         },
 *         UserEquipmentAddressPoolPrefixes = new[]
 *         {
 *             "2.4.0.0/24",
 *         },
 *         UserEquipmentStaticAddressPoolPrefixes = new[]
 *         {
 *             "2.4.1.0/24",
 *         },
 *         UserPlaneAccessName = "test",
 *         UserPlaneAccessIpv4Address = "10.204.141.4",
 *         UserPlaneAccessIpv4Gateway = "10.204.141.1",
 *         UserPlaneAccessIpv4Subnet = "10.204.141.0/24",
 *     });
 *     var exampleNetworkSim = new Azure.Mobile.NetworkSim("example", new()
 *     {
 *         Name = "example-sim",
 *         MobileNetworkSimGroupId = exampleNetworkSimGroup.Id,
 *         AuthenticationKey = "00000000000000000000000000000000",
 *         IntegratedCircuitCardIdentifier = "8900000000000000000",
 *         InternationalMobileSubscriberIdentity = "000000000000000",
 *         OperatorKeyCode = "00000000000000000000000000000000",
 *         StaticIpConfigurations = new[]
 *         {
 *             new Azure.Mobile.Inputs.NetworkSimStaticIpConfigurationArgs
 *             {
 *                 AttachedDataNetworkId = test.Id,
 *                 SliceId = testAzurermMobileNetworkSlice.Id,
 *                 StaticIpv4Address = "2.4.0.1",
 *             },
 *         },
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
 * 	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/mobile"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
 * 			Name:     pulumi.String("example-resources"),
 * 			Location: pulumi.String("West Europe"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleNetwork, err := mobile.NewNetwork(ctx, "example", &mobile.NetworkArgs{
 * 			Name:              pulumi.String("example-mn"),
 * 			Location:          example.Location,
 * 			ResourceGroupName: example.Name,
 * 			MobileCountryCode: pulumi.String("001"),
 * 			MobileNetworkCode: pulumi.String("01"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleNetworkSimGroup, err := mobile.NewNetworkSimGroup(ctx, "example", &mobile.NetworkSimGroupArgs{
 * 			Name:            pulumi.String("example-mnsg"),
 * 			Location:        example.Location,
 * 			MobileNetworkId: exampleNetwork.ID(),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = mobile.NewNetworkSlice(ctx, "example", &mobile.NetworkSliceArgs{
 * 			Name:            pulumi.String("example-slice"),
 * 			MobileNetworkId: exampleNetwork.ID(),
 * 			Location:        example.Location,
 * 			SingleNetworkSliceSelectionAssistanceInformation: &mobile.NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs{
 * 				SliceServiceType: pulumi.Int(1),
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = mobile.NewNetworkAttachedDataNetwork(ctx, "example", &mobile.NetworkAttachedDataNetworkArgs{
 * 			MobileNetworkDataNetworkName:       pulumi.Any(exampleAzurermMobileNetworkDataNetwork.Name),
 * 			MobileNetworkPacketCoreDataPlaneId: pulumi.Any(exampleAzurermMobileNetworkPacketCoreDataPlane.Id),
 * 			Location:                           example.Location,
 * 			DnsAddresses: pulumi.StringArray{
 * 				pulumi.String("1.1.1.1"),
 * 			},
 * 			UserEquipmentAddressPoolPrefixes: pulumi.StringArray{
 * 				pulumi.String("2.4.0.0/24"),
 * 			},
 * 			UserEquipmentStaticAddressPoolPrefixes: pulumi.StringArray{
 * 				pulumi.String("2.4.1.0/24"),
 * 			},
 * 			UserPlaneAccessName:        pulumi.String("test"),
 * 			UserPlaneAccessIpv4Address: pulumi.String("10.204.141.4"),
 * 			UserPlaneAccessIpv4Gateway: pulumi.String("10.204.141.1"),
 * 			UserPlaneAccessIpv4Subnet:  pulumi.String("10.204.141.0/24"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = mobile.NewNetworkSim(ctx, "example", &mobile.NetworkSimArgs{
 * 			Name:                                  pulumi.String("example-sim"),
 * 			MobileNetworkSimGroupId:               exampleNetworkSimGroup.ID(),
 * 			AuthenticationKey:                     pulumi.String("00000000000000000000000000000000"),
 * 			IntegratedCircuitCardIdentifier:       pulumi.String("8900000000000000000"),
 * 			InternationalMobileSubscriberIdentity: pulumi.String("000000000000000"),
 * 			OperatorKeyCode:                       pulumi.String("00000000000000000000000000000000"),
 * 			StaticIpConfigurations: mobile.NetworkSimStaticIpConfigurationArray{
 * 				&mobile.NetworkSimStaticIpConfigurationArgs{
 * 					AttachedDataNetworkId: pulumi.Any(test.Id),
 * 					SliceId:               pulumi.Any(testAzurermMobileNetworkSlice.Id),
 * 					StaticIpv4Address:     pulumi.String("2.4.0.1"),
 * 				},
 * 			},
 * 		})
 * 		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.azure.core.ResourceGroup;
 * import com.pulumi.azure.core.ResourceGroupArgs;
 * import com.pulumi.azure.mobile.Network;
 * import com.pulumi.azure.mobile.NetworkArgs;
 * import com.pulumi.azure.mobile.NetworkSimGroup;
 * import com.pulumi.azure.mobile.NetworkSimGroupArgs;
 * import com.pulumi.azure.mobile.NetworkSlice;
 * import com.pulumi.azure.mobile.NetworkSliceArgs;
 * import com.pulumi.azure.mobile.inputs.NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs;
 * import com.pulumi.azure.mobile.NetworkAttachedDataNetwork;
 * import com.pulumi.azure.mobile.NetworkAttachedDataNetworkArgs;
 * import com.pulumi.azure.mobile.NetworkSim;
 * import com.pulumi.azure.mobile.NetworkSimArgs;
 * import com.pulumi.azure.mobile.inputs.NetworkSimStaticIpConfigurationArgs;
 * 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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
 *             .name("example-resources")
 *             .location("West Europe")
 *             .build());
 *         var exampleNetwork = new Network("exampleNetwork", NetworkArgs.builder()
 *             .name("example-mn")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .mobileCountryCode("001")
 *             .mobileNetworkCode("01")
 *             .build());
 *         var exampleNetworkSimGroup = new NetworkSimGroup("exampleNetworkSimGroup", NetworkSimGroupArgs.builder()
 *             .name("example-mnsg")
 *             .location(example.location())
 *             .mobileNetworkId(exampleNetwork.id())
 *             .build());
 *         var exampleNetworkSlice = new NetworkSlice("exampleNetworkSlice", NetworkSliceArgs.builder()
 *             .name("example-slice")
 *             .mobileNetworkId(exampleNetwork.id())
 *             .location(example.location())
 *             .singleNetworkSliceSelectionAssistanceInformation(NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs.builder()
 *                 .sliceServiceType(1)
 *                 .build())
 *             .build());
 *         var exampleNetworkAttachedDataNetwork = new NetworkAttachedDataNetwork("exampleNetworkAttachedDataNetwork", NetworkAttachedDataNetworkArgs.builder()
 *             .mobileNetworkDataNetworkName(exampleAzurermMobileNetworkDataNetwork.name())
 *             .mobileNetworkPacketCoreDataPlaneId(exampleAzurermMobileNetworkPacketCoreDataPlane.id())
 *             .location(example.location())
 *             .dnsAddresses("1.1.1.1")
 *             .userEquipmentAddressPoolPrefixes("2.4.0.0/24")
 *             .userEquipmentStaticAddressPoolPrefixes("2.4.1.0/24")
 *             .userPlaneAccessName("test")
 *             .userPlaneAccessIpv4Address("10.204.141.4")
 *             .userPlaneAccessIpv4Gateway("10.204.141.1")
 *             .userPlaneAccessIpv4Subnet("10.204.141.0/24")
 *             .build());
 *         var exampleNetworkSim = new NetworkSim("exampleNetworkSim", NetworkSimArgs.builder()
 *             .name("example-sim")
 *             .mobileNetworkSimGroupId(exampleNetworkSimGroup.id())
 *             .authenticationKey("00000000000000000000000000000000")
 *             .integratedCircuitCardIdentifier("8900000000000000000")
 *             .internationalMobileSubscriberIdentity("000000000000000")
 *             .operatorKeyCode("00000000000000000000000000000000")
 *             .staticIpConfigurations(NetworkSimStaticIpConfigurationArgs.builder()
 *                 .attachedDataNetworkId(test.id())
 *                 .sliceId(testAzurermMobileNetworkSlice.id())
 *                 .staticIpv4Address("2.4.0.1")
 *                 .build())
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: azure:core:ResourceGroup
 *     properties:
 *       name: example-resources
 *       location: West Europe
 *   exampleNetwork:
 *     type: azure:mobile:Network
 *     name: example
 *     properties:
 *       name: example-mn
 *       location: ${example.location}
 *       resourceGroupName: ${example.name}
 *       mobileCountryCode: '001'
 *       mobileNetworkCode: '01'
 *   exampleNetworkSimGroup:
 *     type: azure:mobile:NetworkSimGroup
 *     name: example
 *     properties:
 *       name: example-mnsg
 *       location: ${example.location}
 *       mobileNetworkId: ${exampleNetwork.id}
 *   exampleNetworkSlice:
 *     type: azure:mobile:NetworkSlice
 *     name: example
 *     properties:
 *       name: example-slice
 *       mobileNetworkId: ${exampleNetwork.id}
 *       location: ${example.location}
 *       singleNetworkSliceSelectionAssistanceInformation:
 *         sliceServiceType: 1
 *   exampleNetworkAttachedDataNetwork:
 *     type: azure:mobile:NetworkAttachedDataNetwork
 *     name: example
 *     properties:
 *       mobileNetworkDataNetworkName: ${exampleAzurermMobileNetworkDataNetwork.name}
 *       mobileNetworkPacketCoreDataPlaneId: ${exampleAzurermMobileNetworkPacketCoreDataPlane.id}
 *       location: ${example.location}
 *       dnsAddresses:
 *         - 1.1.1.1
 *       userEquipmentAddressPoolPrefixes:
 *         - 2.4.0.0/24
 *       userEquipmentStaticAddressPoolPrefixes:
 *         - 2.4.1.0/24
 *       userPlaneAccessName: test
 *       userPlaneAccessIpv4Address: 10.204.141.4
 *       userPlaneAccessIpv4Gateway: 10.204.141.1
 *       userPlaneAccessIpv4Subnet: 10.204.141.0/24
 *   exampleNetworkSim:
 *     type: azure:mobile:NetworkSim
 *     name: example
 *     properties:
 *       name: example-sim
 *       mobileNetworkSimGroupId: ${exampleNetworkSimGroup.id}
 *       authenticationKey: '00000000000000000000000000000000'
 *       integratedCircuitCardIdentifier: '8900000000000000000'
 *       internationalMobileSubscriberIdentity: '000000000000000'
 *       operatorKeyCode: '00000000000000000000000000000000'
 *       staticIpConfigurations:
 *         - attachedDataNetworkId: ${test.id}
 *           sliceId: ${testAzurermMobileNetworkSlice.id}
 *           staticIpv4Address: 2.4.0.1
 * ```
 * 
 * ## Import
 * Mobile Network Sim can be imported using the `resource id`, e.g.
 * ```sh
 * $ pulumi import azure:mobile/networkSim:NetworkSim example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.MobileNetwork/simGroups/simGroup1/sims/sim1
 * ```
 * @property authenticationKey The Ki value for the SIM.
 * @property deviceType An optional free-form text field that can be used to record the device type this SIM is associated with, for example `Video camera`. The Azure portal allows SIMs to be grouped and filtered based on this value.
 * @property integratedCircuitCardIdentifier The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
 * @property internationalMobileSubscriberIdentity The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
 * @property mobileNetworkSimGroupId The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
 * @property name The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
 * @property operatorKeyCode The Opc value for the SIM.
 * @property simPolicyId The ID of SIM policy used by this SIM.
 * @property staticIpConfigurations A `static_ip_configuration` block as defined below.
 */
public data class NetworkSimArgs(
    public val authenticationKey: Output? = null,
    public val deviceType: Output? = null,
    public val integratedCircuitCardIdentifier: Output? = null,
    public val internationalMobileSubscriberIdentity: Output? = null,
    public val mobileNetworkSimGroupId: Output? = null,
    public val name: Output? = null,
    public val operatorKeyCode: Output? = null,
    public val simPolicyId: Output? = null,
    public val staticIpConfigurations: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.mobile.NetworkSimArgs =
        com.pulumi.azure.mobile.NetworkSimArgs.builder()
            .authenticationKey(authenticationKey?.applyValue({ args0 -> args0 }))
            .deviceType(deviceType?.applyValue({ args0 -> args0 }))
            .integratedCircuitCardIdentifier(integratedCircuitCardIdentifier?.applyValue({ args0 -> args0 }))
            .internationalMobileSubscriberIdentity(
                internationalMobileSubscriberIdentity?.applyValue({ args0 ->
                    args0
                }),
            )
            .mobileNetworkSimGroupId(mobileNetworkSimGroupId?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .operatorKeyCode(operatorKeyCode?.applyValue({ args0 -> args0 }))
            .simPolicyId(simPolicyId?.applyValue({ args0 -> args0 }))
            .staticIpConfigurations(
                staticIpConfigurations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

/**
 * Builder for [NetworkSimArgs].
 */
@PulumiTagMarker
public class NetworkSimArgsBuilder internal constructor() {
    private var authenticationKey: Output? = null

    private var deviceType: Output? = null

    private var integratedCircuitCardIdentifier: Output? = null

    private var internationalMobileSubscriberIdentity: Output? = null

    private var mobileNetworkSimGroupId: Output? = null

    private var name: Output? = null

    private var operatorKeyCode: Output? = null

    private var simPolicyId: Output? = null

    private var staticIpConfigurations: Output>? = null

    /**
     * @param value The Ki value for the SIM.
     */
    @JvmName("dcnehdpyymiswfwi")
    public suspend fun authenticationKey(`value`: Output) {
        this.authenticationKey = value
    }

    /**
     * @param value An optional free-form text field that can be used to record the device type this SIM is associated with, for example `Video camera`. The Azure portal allows SIMs to be grouped and filtered based on this value.
     */
    @JvmName("jcsamusrushttddq")
    public suspend fun deviceType(`value`: Output) {
        this.deviceType = value
    }

    /**
     * @param value The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
     */
    @JvmName("lrpnxjhupwqkmgec")
    public suspend fun integratedCircuitCardIdentifier(`value`: Output) {
        this.integratedCircuitCardIdentifier = value
    }

    /**
     * @param value The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
     */
    @JvmName("eipadlvwckskqrub")
    public suspend fun internationalMobileSubscriberIdentity(`value`: Output) {
        this.internationalMobileSubscriberIdentity = value
    }

    /**
     * @param value The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
     */
    @JvmName("ukiyifesbxxbcaku")
    public suspend fun mobileNetworkSimGroupId(`value`: Output) {
        this.mobileNetworkSimGroupId = value
    }

    /**
     * @param value The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
     */
    @JvmName("ehjoblkdfmhpvonj")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The Opc value for the SIM.
     */
    @JvmName("vjlgunjfvibuydqv")
    public suspend fun operatorKeyCode(`value`: Output) {
        this.operatorKeyCode = value
    }

    /**
     * @param value The ID of SIM policy used by this SIM.
     */
    @JvmName("drxqctvqtpyopuss")
    public suspend fun simPolicyId(`value`: Output) {
        this.simPolicyId = value
    }

    /**
     * @param value A `static_ip_configuration` block as defined below.
     */
    @JvmName("fwtcevulvvrvfgmr")
    public suspend fun staticIpConfigurations(`value`: Output>) {
        this.staticIpConfigurations = value
    }

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

    /**
     * @param values A `static_ip_configuration` block as defined below.
     */
    @JvmName("xvvdcfbpsdjmgxjn")
    public suspend fun staticIpConfigurations(values: List>) {
        this.staticIpConfigurations = Output.all(values)
    }

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

    /**
     * @param value An optional free-form text field that can be used to record the device type this SIM is associated with, for example `Video camera`. The Azure portal allows SIMs to be grouped and filtered based on this value.
     */
    @JvmName("xledvafunlmxxgjx")
    public suspend fun deviceType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deviceType = mapped
    }

    /**
     * @param value The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.
     */
    @JvmName("rglhfncqahypvuay")
    public suspend fun integratedCircuitCardIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.integratedCircuitCardIdentifier = mapped
    }

    /**
     * @param value The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.
     */
    @JvmName("aqhlhwtjbxvsppyq")
    public suspend fun internationalMobileSubscriberIdentity(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.internationalMobileSubscriberIdentity = mapped
    }

    /**
     * @param value The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.
     */
    @JvmName("oyhshcmerakhtgak")
    public suspend fun mobileNetworkSimGroupId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mobileNetworkSimGroupId = mapped
    }

    /**
     * @param value The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.
     */
    @JvmName("htpwvccrkdhnfsgf")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

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

    /**
     * @param value The ID of SIM policy used by this SIM.
     */
    @JvmName("qxdoofkixahjekld")
    public suspend fun simPolicyId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.simPolicyId = mapped
    }

    /**
     * @param value A `static_ip_configuration` block as defined below.
     */
    @JvmName("dgpjyoyxtqjptsqp")
    public suspend fun staticIpConfigurations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.staticIpConfigurations = mapped
    }

    /**
     * @param argument A `static_ip_configuration` block as defined below.
     */
    @JvmName("csatghrotjqgghsw")
    public suspend fun staticIpConfigurations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            NetworkSimStaticIpConfigurationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.staticIpConfigurations = mapped
    }

    /**
     * @param argument A `static_ip_configuration` block as defined below.
     */
    @JvmName("jrwjtjgwphrtcows")
    public suspend fun staticIpConfigurations(vararg argument: suspend NetworkSimStaticIpConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            NetworkSimStaticIpConfigurationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.staticIpConfigurations = mapped
    }

    /**
     * @param argument A `static_ip_configuration` block as defined below.
     */
    @JvmName("qsbwevriroplireo")
    public suspend fun staticIpConfigurations(argument: suspend NetworkSimStaticIpConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            NetworkSimStaticIpConfigurationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.staticIpConfigurations = mapped
    }

    /**
     * @param values A `static_ip_configuration` block as defined below.
     */
    @JvmName("iodbkkypepjstukq")
    public suspend fun staticIpConfigurations(vararg values: NetworkSimStaticIpConfigurationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.staticIpConfigurations = mapped
    }

    internal fun build(): NetworkSimArgs = NetworkSimArgs(
        authenticationKey = authenticationKey,
        deviceType = deviceType,
        integratedCircuitCardIdentifier = integratedCircuitCardIdentifier,
        internationalMobileSubscriberIdentity = internationalMobileSubscriberIdentity,
        mobileNetworkSimGroupId = mobileNetworkSimGroupId,
        name = name,
        operatorKeyCode = operatorKeyCode,
        simPolicyId = simPolicyId,
        staticIpConfigurations = staticIpConfigurations,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy