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

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

azure.mobile.getNetworkSimGroup

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 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,
    }));
    
    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/v5/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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure:mobile/getNetworkSimGroup:getNetworkSimGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MobileNetworkId string
    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.
    MobileNetworkId string
    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.
    mobileNetworkId String
    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.
    mobileNetworkId string
    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_id str
    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.
    mobileNetworkId String
    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:

    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 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 azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi