Sim Group
SIM group resource. API Version: 2022-04-01-preview.
Example Usage
Create SIM group
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var simGroup = new AzureNative.MobileNetwork.SimGroup("simGroup", new()
{
EncryptionKey = new AzureNative.MobileNetwork.Inputs.KeyVaultKeyArgs
{
KeyUrl = "https://contosovault.vault.azure.net/keys/azureKey",
},
Location = "eastus",
MobileNetwork = new AzureNative.MobileNetwork.Inputs.MobileNetworkResourceIdArgs
{
Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork",
},
ResourceGroupName = "rg1",
SimGroupName = "testSimGroup",
});
});
Content copied to clipboard
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.NewSimGroup(ctx, "simGroup", &mobilenetwork.SimGroupArgs{
EncryptionKey: &mobilenetwork.KeyVaultKeyArgs{
KeyUrl: pulumi.String("https://contosovault.vault.azure.net/keys/azureKey"),
},
Location: pulumi.String("eastus"),
MobileNetwork: &mobilenetwork.MobileNetworkResourceIdArgs{
Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork"),
},
ResourceGroupName: pulumi.String("rg1"),
SimGroupName: pulumi.String("testSimGroup"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.mobilenetwork.SimGroup;
import com.pulumi.azurenative.mobilenetwork.SimGroupArgs;
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 simGroup = new SimGroup("simGroup", SimGroupArgs.builder()
.encryptionKey(Map.of("keyUrl", "https://contosovault.vault.azure.net/keys/azureKey"))
.location("eastus")
.mobileNetwork(Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork"))
.resourceGroupName("rg1")
.simGroupName("testSimGroup")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:mobilenetwork:SimGroup testSimGroup /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup
Content copied to clipboard
Properties
Link copied to clipboard
The type of identity that created the resource.
Link copied to clipboard
A key to encrypt the SIM data that belongs to this SIM group.
Link copied to clipboard
The identity used to retrieve the encryption key from Azure key vault.
Link copied to clipboard
The timestamp of resource last modification (UTC)
Link copied to clipboard
The identity that last modified the resource.
Link copied to clipboard
The type of identity that last modified the resource.
Link copied to clipboard
Mobile network that this SIM belongs to
Link copied to clipboard
The provisioning state of the SIM group resource.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.