We recommend using Azure Native.
Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi
azure.mobile.getNetworkSimGroup
Explore with Pulumi AI
Get information about a Mobile Network Sim Group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.mobile.getNetwork({
    name: "example-mn",
    resourceGroupName: exampleAzurermResourceGroup.name,
});
const exampleGetNetworkSimGroup = example.then(example => azure.mobile.getNetworkSimGroup({
    name: "example-mnsg",
    mobileNetworkId: example.id,
}));
import pulumi
import pulumi_azure as azure
example = azure.mobile.get_network(name="example-mn",
    resource_group_name=example_azurerm_resource_group["name"])
example_get_network_sim_group = azure.mobile.get_network_sim_group(name="example-mnsg",
    mobile_network_id=example.id)
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/mobile"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := mobile.LookupNetwork(ctx, &mobile.LookupNetworkArgs{
			Name:              "example-mn",
			ResourceGroupName: exampleAzurermResourceGroup.Name,
		}, nil)
		if err != nil {
			return err
		}
		_, err = mobile.LookupNetworkSimGroup(ctx, &mobile.LookupNetworkSimGroupArgs{
			Name:            "example-mnsg",
			MobileNetworkId: example.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = Azure.Mobile.GetNetwork.Invoke(new()
    {
        Name = "example-mn",
        ResourceGroupName = exampleAzurermResourceGroup.Name,
    });
    var exampleGetNetworkSimGroup = Azure.Mobile.GetNetworkSimGroup.Invoke(new()
    {
        Name = "example-mnsg",
        MobileNetworkId = example.Apply(getNetworkResult => getNetworkResult.Id),
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.mobile.MobileFunctions;
import com.pulumi.azure.mobile.inputs.GetNetworkArgs;
import com.pulumi.azure.mobile.inputs.GetNetworkSimGroupArgs;
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) {
        final var example = MobileFunctions.getNetwork(GetNetworkArgs.builder()
            .name("example-mn")
            .resourceGroupName(exampleAzurermResourceGroup.name())
            .build());
        final var exampleGetNetworkSimGroup = MobileFunctions.getNetworkSimGroup(GetNetworkSimGroupArgs.builder()
            .name("example-mnsg")
            .mobileNetworkId(example.applyValue(getNetworkResult -> getNetworkResult.id()))
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: azure:mobile:getNetwork
      arguments:
        name: example-mn
        resourceGroupName: ${exampleAzurermResourceGroup.name}
  exampleGetNetworkSimGroup:
    fn::invoke:
      function: azure:mobile:getNetworkSimGroup
      arguments:
        name: example-mnsg
        mobileNetworkId: ${example.id}
Using getNetworkSimGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNetworkSimGroup(args: GetNetworkSimGroupArgs, opts?: InvokeOptions): Promise<GetNetworkSimGroupResult>
function getNetworkSimGroupOutput(args: GetNetworkSimGroupOutputArgs, opts?: InvokeOptions): Output<GetNetworkSimGroupResult>def get_network_sim_group(mobile_network_id: Optional[str] = None,
                          name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetNetworkSimGroupResult
def get_network_sim_group_output(mobile_network_id: Optional[pulumi.Input[str]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetNetworkSimGroupResult]func LookupNetworkSimGroup(ctx *Context, args *LookupNetworkSimGroupArgs, opts ...InvokeOption) (*LookupNetworkSimGroupResult, error)
func LookupNetworkSimGroupOutput(ctx *Context, args *LookupNetworkSimGroupOutputArgs, opts ...InvokeOption) LookupNetworkSimGroupResultOutput> Note: This function is named LookupNetworkSimGroup in the Go SDK.
public static class GetNetworkSimGroup 
{
    public static Task<GetNetworkSimGroupResult> InvokeAsync(GetNetworkSimGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkSimGroupResult> Invoke(GetNetworkSimGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkSimGroupResult> getNetworkSimGroup(GetNetworkSimGroupArgs args, InvokeOptions options)
public static Output<GetNetworkSimGroupResult> getNetworkSimGroup(GetNetworkSimGroupArgs args, InvokeOptions options)
fn::invoke:
  function: azure:mobile/getNetworkSimGroup:getNetworkSimGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MobileNetwork stringId 
- The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- Name string
- Specifies the name which should be used for this Mobile Network Sim Groups.
- MobileNetwork stringId 
- The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- Name string
- Specifies the name which should be used for this Mobile Network Sim Groups.
- mobileNetwork StringId 
- The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- name String
- Specifies the name which should be used for this Mobile Network Sim Groups.
- mobileNetwork stringId 
- The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- name string
- Specifies the name which should be used for this Mobile Network Sim Groups.
- mobile_network_ strid 
- The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- name str
- Specifies the name which should be used for this Mobile Network Sim Groups.
- mobileNetwork StringId 
- The ID of Mobile Network which the Mobile Network Sim Group belongs to.
- name String
- Specifies the name which should be used for this Mobile Network Sim Groups.
getNetworkSimGroup Result
The following output properties are available:
- EncryptionKey stringUrl 
- A key to encrypt the SIM data that belongs to this SIM group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
List<GetNetwork Sim Group Identity> 
- An identityblock as defined below.
- Location string
- The Azure Region where the Mobile Network Sim Groups should exist.
- MobileNetwork stringId 
- Name string
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
- EncryptionKey stringUrl 
- A key to encrypt the SIM data that belongs to this SIM group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
[]GetNetwork Sim Group Identity 
- An identityblock as defined below.
- Location string
- The Azure Region where the Mobile Network Sim Groups should exist.
- MobileNetwork stringId 
- Name string
- map[string]string
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
- encryptionKey StringUrl 
- A key to encrypt the SIM data that belongs to this SIM group.
- id String
- The provider-assigned unique ID for this managed resource.
- identities
List<GetNetwork Sim Group Identity> 
- An identityblock as defined below.
- location String
- The Azure Region where the Mobile Network Sim Groups should exist.
- mobileNetwork StringId 
- name String
- Map<String,String>
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
- encryptionKey stringUrl 
- A key to encrypt the SIM data that belongs to this SIM group.
- id string
- The provider-assigned unique ID for this managed resource.
- identities
GetNetwork Sim Group Identity[] 
- An identityblock as defined below.
- location string
- The Azure Region where the Mobile Network Sim Groups should exist.
- mobileNetwork stringId 
- name string
- {[key: string]: string}
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
- encryption_key_ strurl 
- A key to encrypt the SIM data that belongs to this SIM group.
- id str
- The provider-assigned unique ID for this managed resource.
- identities
Sequence[GetNetwork Sim Group Identity] 
- An identityblock as defined below.
- location str
- The Azure Region where the Mobile Network Sim Groups should exist.
- mobile_network_ strid 
- name str
- Mapping[str, str]
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
- encryptionKey StringUrl 
- A key to encrypt the SIM data that belongs to this SIM group.
- id String
- The provider-assigned unique ID for this managed resource.
- identities List<Property Map>
- An identityblock as defined below.
- location String
- The Azure Region where the Mobile Network Sim Groups should exist.
- mobileNetwork StringId 
- name String
- Map<String>
- A mapping of tags which should be assigned to the Mobile Network Sim Groups.
Supporting Types
GetNetworkSimGroupIdentity    
- IdentityIds List<string>
- A list of User Assigned Managed Identity IDs assigned to this resource.
- PrincipalId string
- TenantId string
- Type string
- The type of Managed Service Identity. Possible values are SystemAssigned,UserAssigned.
- IdentityIds []string
- A list of User Assigned Managed Identity IDs assigned to this resource.
- PrincipalId string
- TenantId string
- Type string
- The type of Managed Service Identity. Possible values are SystemAssigned,UserAssigned.
- identityIds List<String>
- A list of User Assigned Managed Identity IDs assigned to this resource.
- principalId String
- tenantId String
- type String
- The type of Managed Service Identity. Possible values are SystemAssigned,UserAssigned.
- identityIds string[]
- A list of User Assigned Managed Identity IDs assigned to this resource.
- principalId string
- tenantId string
- type string
- The type of Managed Service Identity. Possible values are SystemAssigned,UserAssigned.
- identity_ids Sequence[str]
- A list of User Assigned Managed Identity IDs assigned to this resource.
- principal_id str
- tenant_id str
- type str
- The type of Managed Service Identity. Possible values are SystemAssigned,UserAssigned.
- identityIds List<String>
- A list of User Assigned Managed Identity IDs assigned to this resource.
- principalId String
- tenantId String
- type String
- The type of Managed Service Identity. Possible values are SystemAssigned,UserAssigned.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.