SimGroupArgs

data class SimGroupArgs(val createdAt: Output<String>? = null, val createdBy: Output<String>? = null, val createdByType: Output<Either<String, CreatedByType>>? = null, val encryptionKey: Output<KeyVaultKeyArgs>? = null, val identity: Output<ManagedServiceIdentityArgs>? = null, val lastModifiedAt: Output<String>? = null, val lastModifiedBy: Output<String>? = null, val lastModifiedByType: Output<Either<String, CreatedByType>>? = null, val location: Output<String>? = null, val mobileNetwork: Output<MobileNetworkResourceIdArgs>? = null, val resourceGroupName: Output<String>? = null, val simGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<SimGroupArgs>

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",
});
});
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
})
}
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());
}
}

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

Constructors

Link copied to clipboard
constructor(createdAt: Output<String>? = null, createdBy: Output<String>? = null, createdByType: Output<Either<String, CreatedByType>>? = null, encryptionKey: Output<KeyVaultKeyArgs>? = null, identity: Output<ManagedServiceIdentityArgs>? = null, lastModifiedAt: Output<String>? = null, lastModifiedBy: Output<String>? = null, lastModifiedByType: Output<Either<String, CreatedByType>>? = null, location: Output<String>? = null, mobileNetwork: Output<MobileNetworkResourceIdArgs>? = null, resourceGroupName: Output<String>? = null, simGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

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 encryptionKey: Output<KeyVaultKeyArgs>? = null

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
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 location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard

Mobile network that this SIM belongs to

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 tags: Output<Map<String, String>>? = null

Resource tags.

Functions

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