NetworkSim

class NetworkSim : KotlinCustomResource

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

Properties

Link copied to clipboard

The Ki value for the SIM.

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

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
val id: Output<String>
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

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>

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>

The Opc value for the SIM.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val simPolicyId: Output<String>?

The ID of SIM policy used by this SIM.

Link copied to clipboard
val simState: Output<String>

The state of the SIM resource.

Link copied to clipboard

A static_ip_configuration block as defined below.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

The public key fingerprint of the SIM vendor who provided this SIM, if any.

Link copied to clipboard
val vendorName: Output<String>

The name of the SIM vendor who provided this SIM, if any.