Skip to content

azurermMobileNetworkSimGroup

Get information about a Mobile Network Sim Group.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
const dataAzurermMobileNetworkExample =
  new azurerm.dataAzurermMobileNetwork.DataAzurermMobileNetwork(
    this,
    "example",
    {
      name: "example-mn",
      resource_group_name: "${azurerm_resource_group.example.name}",
    }
  );
const dataAzurermMobileNetworkSimGroupExample =
  new azurerm.dataAzurermMobileNetworkSimGroup.DataAzurermMobileNetworkSimGroup(
    this,
    "example_1",
    {
      mobile_network_id: dataAzurermMobileNetworkExample.id,
      name: "example-mnsg",
    }
  );
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
dataAzurermMobileNetworkSimGroupExample.overrideLogicalId("example");

Arguments Reference

The following arguments are supported:

  • name - (Required) Specifies the name which should be used for this Mobile Network Sim Groups.

  • mobileNetworkId - (Required) The ID of Mobile Network which the Mobile Network Sim Group belongs to.

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the Mobile Network Sim Groups.

  • location - The Azure Region where the Mobile Network Sim Groups should exist.

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

  • identity - An identity block as defined below.

-> NOTE: A userAssigned identity must be specified when encryptionKeyUrl is specified.

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

An identity block supports the following:

  • type - The type of Managed Service Identity. Possible values are systemAssigned, userAssigned.

  • identityIds - A list of IDs for User Assigned Managed Identity resources to be assigned.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the Mobile Network Sim Groups.