1. Packages
  2. Azure Classic
  3. API Docs
  4. mobile
  5. getNetworkSimGroup

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.mobile.getNetworkSimGroup

Explore with Pulumi AI

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

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

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

    }
}
Copy
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}
Copy

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>
Copy
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]
Copy
func LookupNetworkSimGroup(ctx *Context, args *LookupNetworkSimGroupArgs, opts ...InvokeOption) (*LookupNetworkSimGroupResult, error)
func LookupNetworkSimGroupOutput(ctx *Context, args *LookupNetworkSimGroupOutputArgs, opts ...InvokeOption) LookupNetworkSimGroupResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetNetworkSimGroupResult> getNetworkSimGroup(GetNetworkSimGroupArgs args, InvokeOptions options)
public static Output<GetNetworkSimGroupResult> getNetworkSimGroup(GetNetworkSimGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:mobile/getNetworkSimGroup:getNetworkSimGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

MobileNetworkId This property is required. string
The ID of Mobile Network which the Mobile Network Sim Group belongs to.
Name This property is required. string
Specifies the name which should be used for this Mobile Network Sim Groups.
MobileNetworkId This property is required. string
The ID of Mobile Network which the Mobile Network Sim Group belongs to.
Name This property is required. string
Specifies the name which should be used for this Mobile Network Sim Groups.
mobileNetworkId This property is required. String
The ID of Mobile Network which the Mobile Network Sim Group belongs to.
name This property is required. String
Specifies the name which should be used for this Mobile Network Sim Groups.
mobileNetworkId This property is required. string
The ID of Mobile Network which the Mobile Network Sim Group belongs to.
name This property is required. string
Specifies the name which should be used for this Mobile Network Sim Groups.
mobile_network_id This property is required. str
The ID of Mobile Network which the Mobile Network Sim Group belongs to.
name This property is required. str
Specifies the name which should be used for this Mobile Network Sim Groups.
mobileNetworkId This property is required. String
The ID of Mobile Network which the Mobile Network Sim Group belongs to.
name This property is required. String
Specifies the name which should be used for this Mobile Network Sim Groups.

getNetworkSimGroup Result

The following output properties are available:

EncryptionKeyUrl string
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<GetNetworkSimGroupIdentity>
An identity block as defined below.
Location string
The Azure Region where the Mobile Network Sim Groups should exist.
MobileNetworkId string
Name string
Tags Dictionary<string, string>
A mapping of tags which should be assigned to the Mobile Network Sim Groups.
EncryptionKeyUrl string
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 []GetNetworkSimGroupIdentity
An identity block as defined below.
Location string
The Azure Region where the Mobile Network Sim Groups should exist.
MobileNetworkId string
Name string
Tags map[string]string
A mapping of tags which should be assigned to the Mobile Network Sim Groups.
encryptionKeyUrl String
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<GetNetworkSimGroupIdentity>
An identity block as defined below.
location String
The Azure Region where the Mobile Network Sim Groups should exist.
mobileNetworkId String
name String
tags Map<String,String>
A mapping of tags which should be assigned to the Mobile Network Sim Groups.
encryptionKeyUrl string
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 GetNetworkSimGroupIdentity[]
An identity block as defined below.
location string
The Azure Region where the Mobile Network Sim Groups should exist.
mobileNetworkId string
name string
tags {[key: string]: string}
A mapping of tags which should be assigned to the Mobile Network Sim Groups.
encryption_key_url str
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[GetNetworkSimGroupIdentity]
An identity block as defined below.
location str
The Azure Region where the Mobile Network Sim Groups should exist.
mobile_network_id str
name str
tags Mapping[str, str]
A mapping of tags which should be assigned to the Mobile Network Sim Groups.
encryptionKeyUrl String
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 identity block as defined below.
location String
The Azure Region where the Mobile Network Sim Groups should exist.
mobileNetworkId String
name String
tags Map<String>
A mapping of tags which should be assigned to the Mobile Network Sim Groups.

Supporting Types

GetNetworkSimGroupIdentity

IdentityIds This property is required. List<string>
A list of User Assigned Managed Identity IDs assigned to this resource.
PrincipalId This property is required. string
TenantId This property is required. string
Type This property is required. string
The type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned.
IdentityIds This property is required. []string
A list of User Assigned Managed Identity IDs assigned to this resource.
PrincipalId This property is required. string
TenantId This property is required. string
Type This property is required. string
The type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned.
identityIds This property is required. List<String>
A list of User Assigned Managed Identity IDs assigned to this resource.
principalId This property is required. String
tenantId This property is required. String
type This property is required. String
The type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned.
identityIds This property is required. string[]
A list of User Assigned Managed Identity IDs assigned to this resource.
principalId This property is required. string
tenantId This property is required. string
type This property is required. string
The type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned.
identity_ids This property is required. Sequence[str]
A list of User Assigned Managed Identity IDs assigned to this resource.
principal_id This property is required. str
tenant_id This property is required. str
type This property is required. str
The type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned.
identityIds This property is required. List<String>
A list of User Assigned Managed Identity IDs assigned to this resource.
principalId This property is required. String
tenantId This property is required. String
type This property is required. 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 azurerm Terraform Provider.

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi