Sim

class Sim : KotlinCustomResource

SIM resource. Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2023-06-01. Other available API versions: 2022-04-01-preview, 2022-11-01, 2023-06-01, 2023-09-01, 2024-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native mobilenetwork [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Create SIM

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sim = new AzureNative.MobileNetwork.Sim("sim", new()
{
AuthenticationKey = "00000000000000000000000000000000",
DeviceType = "Video camera",
IntegratedCircuitCardIdentifier = "8900000000000000000",
InternationalMobileSubscriberIdentity = "00000",
OperatorKeyCode = "00000000000000000000000000000000",
ResourceGroupName = "rg1",
SimGroupName = "testSimGroup",
SimName = "testSim",
SimPolicy = new AzureNative.MobileNetwork.Inputs.SimPolicyResourceIdArgs
{
Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy",
},
StaticIpConfiguration = new[]
{
new AzureNative.MobileNetwork.Inputs.SimStaticIpPropertiesArgs
{
AttachedDataNetwork = new AzureNative.MobileNetwork.Inputs.AttachedDataNetworkResourceIdArgs
{
Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork",
},
Slice = new AzureNative.MobileNetwork.Inputs.SliceResourceIdArgs
{
Id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice",
},
StaticIp = new AzureNative.MobileNetwork.Inputs.SimStaticIpPropertiesStaticIpArgs
{
Ipv4Address = "2.4.0.1",
},
},
},
});
});
package main
import (
mobilenetwork "github.com/pulumi/pulumi-azure-native-sdk/mobilenetwork/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mobilenetwork.NewSim(ctx, "sim", &mobilenetwork.SimArgs{
AuthenticationKey: pulumi.String("00000000000000000000000000000000"),
DeviceType: pulumi.String("Video camera"),
IntegratedCircuitCardIdentifier: pulumi.String("8900000000000000000"),
InternationalMobileSubscriberIdentity: pulumi.String("00000"),
OperatorKeyCode: pulumi.String("00000000000000000000000000000000"),
ResourceGroupName: pulumi.String("rg1"),
SimGroupName: pulumi.String("testSimGroup"),
SimName: pulumi.String("testSim"),
SimPolicy: &mobilenetwork.SimPolicyResourceIdArgs{
Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy"),
},
StaticIpConfiguration: mobilenetwork.SimStaticIpPropertiesArray{
&mobilenetwork.SimStaticIpPropertiesArgs{
AttachedDataNetwork: &mobilenetwork.AttachedDataNetworkResourceIdArgs{
Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork"),
},
Slice: &mobilenetwork.SliceResourceIdArgs{
Id: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice"),
},
StaticIp: &mobilenetwork.SimStaticIpPropertiesStaticIpArgs{
Ipv4Address: pulumi.String("2.4.0.1"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.mobilenetwork.Sim;
import com.pulumi.azurenative.mobilenetwork.SimArgs;
import com.pulumi.azurenative.mobilenetwork.inputs.SimPolicyResourceIdArgs;
import com.pulumi.azurenative.mobilenetwork.inputs.SimStaticIpPropertiesArgs;
import com.pulumi.azurenative.mobilenetwork.inputs.AttachedDataNetworkResourceIdArgs;
import com.pulumi.azurenative.mobilenetwork.inputs.SliceResourceIdArgs;
import com.pulumi.azurenative.mobilenetwork.inputs.SimStaticIpPropertiesStaticIpArgs;
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 sim = new Sim("sim", SimArgs.builder()
.authenticationKey("00000000000000000000000000000000")
.deviceType("Video camera")
.integratedCircuitCardIdentifier("8900000000000000000")
.internationalMobileSubscriberIdentity("00000")
.operatorKeyCode("00000000000000000000000000000000")
.resourceGroupName("rg1")
.simGroupName("testSimGroup")
.simName("testSim")
.simPolicy(SimPolicyResourceIdArgs.builder()
.id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy")
.build())
.staticIpConfiguration(SimStaticIpPropertiesArgs.builder()
.attachedDataNetwork(AttachedDataNetworkResourceIdArgs.builder()
.id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork")
.build())
.slice(SliceResourceIdArgs.builder()
.id("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice")
.build())
.staticIp(SimStaticIpPropertiesStaticIpArgs.builder()
.ipv4Address("2.4.0.1")
.build())
.build())
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:mobilenetwork:Sim testSim /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims/{simName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

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.

Link copied to clipboard

The international mobile subscriber identity (IMSI) for the SIM.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The provisioning state of the SIM resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The SIM policy used by this SIM. The SIM policy must be in the same location as the SIM.

Link copied to clipboard
val simState: Output<String>

The state of the SIM resource.

Link copied to clipboard

A dictionary of sites to the provisioning state of this SIM on that site.

Link copied to clipboard

A list of static IP addresses assigned to this SIM. Each address is assigned at a defined network scope, made up of {attached data network, slice}.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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.