NetworkSimArgs

data class NetworkSimArgs(val authenticationKey: Output<String>? = null, val deviceType: Output<String>? = null, val integratedCircuitCardIdentifier: Output<String>? = null, val internationalMobileSubscriberIdentity: Output<String>? = null, val mobileNetworkSimGroupId: Output<String>? = null, val name: Output<String>? = null, val operatorKeyCode: Output<String>? = null, val simPolicyId: Output<String>? = null, val staticIpConfigurations: Output<List<NetworkSimStaticIpConfigurationArgs>>? = null) : ConvertibleToJava<NetworkSimArgs>

Manages a Mobile Network Sim.

Example Usage

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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleNetwork = new Network("exampleNetwork", NetworkArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.mobileCountryCode("001")
.mobileNetworkCode("01")
.build());
var exampleNetworkSimGroup = new NetworkSimGroup("exampleNetworkSimGroup", NetworkSimGroupArgs.builder()
.location(exampleResourceGroup.location())
.mobileNetworkId(exampleNetwork.id())
.build());
var exampleNetworkSlice = new NetworkSlice("exampleNetworkSlice", NetworkSliceArgs.builder()
.mobileNetworkId(exampleNetwork.id())
.location(exampleResourceGroup.location())
.singleNetworkSliceSelectionAssistanceInformation(NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs.builder()
.sliceServiceType(1)
.build())
.build());
var exampleNetworkAttachedDataNetwork = new NetworkAttachedDataNetwork("exampleNetworkAttachedDataNetwork", NetworkAttachedDataNetworkArgs.builder()
.mobileNetworkDataNetworkName(azurerm_mobile_network_data_network.example().name())
.mobileNetworkPacketCoreDataPlaneId(azurerm_mobile_network_packet_core_data_plane.example().id())
.location(exampleResourceGroup.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()
.mobileNetworkSimGroupId(exampleNetworkSimGroup.id())
.authenticationKey("00000000000000000000000000000000")
.integratedCircuitCardIdentifier("8900000000000000000")
.internationalMobileSubscriberIdentity("000000000000000")
.operatorKeyCode("00000000000000000000000000000000")
.staticIpConfigurations(NetworkSimStaticIpConfigurationArgs.builder()
.attachedDataNetworkId(data.azurerm_mobile_network_attached_data_network().test().id())
.sliceId(azurerm_mobile_network_slice.test().id())
.staticIpv4Address("2.4.0.1")
.build())
.build());
}
}

Import

Mobile Network Sim can be imported using the resource id, e.g.

$ pulumi import azure:mobile/networkSim:NetworkSim example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.MobileNetwork/simGroups/simGroup1/sims/sim1

Constructors

Link copied to clipboard
fun NetworkSimArgs(authenticationKey: Output<String>? = null, deviceType: Output<String>? = null, integratedCircuitCardIdentifier: Output<String>? = null, internationalMobileSubscriberIdentity: Output<String>? = null, mobileNetworkSimGroupId: Output<String>? = null, name: Output<String>? = null, operatorKeyCode: Output<String>? = null, simPolicyId: Output<String>? = null, staticIpConfigurations: Output<List<NetworkSimStaticIpConfigurationArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): NetworkSimArgs

Properties

Link copied to clipboard
val authenticationKey: Output<String>? = null

The Ki value for the SIM.

Link copied to clipboard
val deviceType: Output<String>? = null

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.

Link copied to clipboard

The integrated circuit card ID (ICCID) for the SIM. Changing this forces a new Mobile Network Sim to be created.

Link copied to clipboard

The international mobile subscriber identity (IMSI) for the SIM. Changing this forces a new Mobile Network Sim to be created.

Link copied to clipboard
val mobileNetworkSimGroupId: Output<String>? = null

The ID of the Mobile Network which the Mobile Network Sim belongs to. Changing this forces a new Mobile Network Sim to be created.

Link copied to clipboard
val name: Output<String>? = null

The name which should be used for this Mobile Network Sim. Changing this forces a new Mobile Network Sim to be created.

Link copied to clipboard
val operatorKeyCode: Output<String>? = null

The Opc value for the SIM.

Link copied to clipboard
val simPolicyId: Output<String>? = null

The ID of SIM policy used by this SIM.

Link copied to clipboard

A static_ip_configuration block as defined below.