NetworkSimGroupArgs

data class NetworkSimGroupArgs(val encryptionKeyUrl: Output<String>? = null, val identity: Output<NetworkSimGroupIdentityArgs>? = null, val location: Output<String>? = null, val mobileNetworkId: Output<String>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<NetworkSimGroupArgs>

Manages a Mobile Network Sim Group.

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.authorization.AuthorizationFunctions;
import com.pulumi.azure.authorization.inputs.GetUserAssignedIdentityArgs;
import com.pulumi.azure.keyvault.KeyvaultFunctions;
import com.pulumi.azure.keyvault.inputs.GetKeyVaultArgs;
import com.pulumi.azure.keyvault.inputs.GetKeyArgs;
import com.pulumi.azure.mobile.NetworkSimGroup;
import com.pulumi.azure.mobile.NetworkSimGroupArgs;
import com.pulumi.azure.mobile.inputs.NetworkSimGroupIdentityArgs;
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());
final var exampleUserAssignedIdentity = AuthorizationFunctions.getUserAssignedIdentity(GetUserAssignedIdentityArgs.builder()
.name("name_of_user_assigned_identity")
.resourceGroupName("name_of_resource_group")
.build());
final var exampleKeyVault = KeyvaultFunctions.getKeyVault(GetKeyVaultArgs.builder()
.name("example-kv")
.resourceGroupName("some-resource-group")
.build());
final var exampleKey = KeyvaultFunctions.getKey(GetKeyArgs.builder()
.name("example-key")
.keyVaultId(exampleKeyVault.applyValue(getKeyVaultResult -> getKeyVaultResult.id()))
.build());
var exampleNetworkSimGroup = new NetworkSimGroup("exampleNetworkSimGroup", NetworkSimGroupArgs.builder()
.location(exampleResourceGroup.location())
.mobileNetworkId(exampleNetwork.id())
.encryptionKeyUrl(exampleKey.applyValue(getKeyResult -> getKeyResult.id()))
.identity(NetworkSimGroupIdentityArgs.builder()
.type("SystemAssigned, UserAssigned")
.identityIds(exampleUserAssignedIdentity.applyValue(getUserAssignedIdentityResult -> getUserAssignedIdentityResult.id()))
.build())
.tags(Map.of("key", "value"))
.build());
}
}

Import

Mobile Network Sim Groups can be imported using the resource id, e.g.

$ pulumi import azure:mobile/networkSimGroup:NetworkSimGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.MobileNetwork/simGroups/simGroup1

Constructors

Link copied to clipboard
fun NetworkSimGroupArgs(encryptionKeyUrl: Output<String>? = null, identity: Output<NetworkSimGroupIdentityArgs>? = null, location: Output<String>? = null, mobileNetworkId: Output<String>? = null, name: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

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

Properties

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

A key to encrypt the SIM data that belongs to this SIM group.

Link copied to clipboard

An identity block as defined below.

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

Specifies the Azure Region where the Mobile Network Sim Groups should exist. Changing this forces a new Mobile Network Sim Group to be created.

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

The ID of Mobile Network which the Mobile Network Sim Group belongs to. Changing this forces a new Mobile Network Slice to be created.

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

Specifies the name which should be used for this Mobile Network Sim Groups. Changing this forces a new Mobile Network Sim Group to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags which should be assigned to the Mobile Network Sim Groups.