SimArgs

data class SimArgs(val authenticationKey: Output<String>? = null, val createdAt: Output<String>? = null, val createdBy: Output<String>? = null, val createdByType: Output<Either<String, CreatedByType>>? = null, val deviceType: Output<String>? = null, val integratedCircuitCardIdentifier: Output<String>? = null, val internationalMobileSubscriberIdentity: Output<String>? = null, val lastModifiedAt: Output<String>? = null, val lastModifiedBy: Output<String>? = null, val lastModifiedByType: Output<Either<String, CreatedByType>>? = null, val operatorKeyCode: Output<String>? = null, val resourceGroupName: Output<String>? = null, val simGroupName: Output<String>? = null, val simName: Output<String>? = null, val simPolicy: Output<SimPolicyResourceIdArgs>? = null, val staticIpConfiguration: Output<List<SimStaticIpPropertiesArgs>>? = null) : ConvertibleToJava<SimArgs>

SIM resource. API Version: 2022-04-01-preview.

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/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy",
},
StaticIpConfiguration = new[]
{
new AzureNative.MobileNetwork.Inputs.SimStaticIpPropertiesArgs
{
AttachedDataNetwork = new AzureNative.MobileNetwork.Inputs.AttachedDataNetworkResourceIdArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork",
},
Slice = new AzureNative.MobileNetwork.Inputs.SliceResourceIdArgs
{
Id = "/subscriptions/subid/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"
"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/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy"),
},
StaticIpConfiguration: []mobilenetwork.SimStaticIpPropertiesArgs{
{
AttachedDataNetwork: {
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork"),
},
Slice: {
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice"),
},
StaticIp: {
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 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(Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy"))
.staticIpConfiguration(Map.ofEntries(
Map.entry("attachedDataNetwork", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork")),
Map.entry("slice", Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice")),
Map.entry("staticIp", Map.of("ipv4Address", "2.4.0.1"))
))
.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/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup/sims/testSim

Constructors

Link copied to clipboard
constructor(authenticationKey: Output<String>? = null, createdAt: Output<String>? = null, createdBy: Output<String>? = null, createdByType: Output<Either<String, CreatedByType>>? = null, deviceType: Output<String>? = null, integratedCircuitCardIdentifier: Output<String>? = null, internationalMobileSubscriberIdentity: Output<String>? = null, lastModifiedAt: Output<String>? = null, lastModifiedBy: Output<String>? = null, lastModifiedByType: Output<Either<String, CreatedByType>>? = null, operatorKeyCode: Output<String>? = null, resourceGroupName: Output<String>? = null, simGroupName: Output<String>? = null, simName: Output<String>? = null, simPolicy: Output<SimPolicyResourceIdArgs>? = null, staticIpConfiguration: Output<List<SimStaticIpPropertiesArgs>>? = null)

Properties

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

The Ki value for the SIM.

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

The timestamp of resource creation (UTC).

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

The identity that created the resource.

Link copied to clipboard
val createdByType: Output<Either<String, CreatedByType>>? = null

The type of identity that created the resource.

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.

Link copied to clipboard

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

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

The timestamp of resource last modification (UTC)

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

The identity that last modified the resource.

Link copied to clipboard
val lastModifiedByType: Output<Either<String, CreatedByType>>? = null

The type of identity that last modified the resource.

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

The Opc value for the SIM.

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

The name of the resource group. The name is case insensitive.

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

The name of the SIM Group.

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

The name of the SIM.

Link copied to clipboard
val simPolicy: Output<SimPolicyResourceIdArgs>? = null

The SIM policy used by this SIM.

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}.

Functions

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