We recommend using Azure Native.
Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi
azure.mobile.getNetwork
Explore with Pulumi AI
Get information about an Azure Mobile Network.
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,
});
import pulumi
import pulumi_azure as azure
example = azure.mobile.get_network(name="example-mn",
    resource_group_name=example_azurerm_resource_group["name"])
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 {
		_, err := mobile.LookupNetwork(ctx, &mobile.LookupNetworkArgs{
			Name:              "example-mn",
			ResourceGroupName: exampleAzurermResourceGroup.Name,
		}, 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,
    });
});
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 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());
    }
}
variables:
  example:
    fn::invoke:
      function: azure:mobile:getNetwork
      arguments:
        name: example-mn
        resourceGroupName: ${exampleAzurermResourceGroup.name}
Using getNetwork
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 getNetwork(args: GetNetworkArgs, opts?: InvokeOptions): Promise<GetNetworkResult>
function getNetworkOutput(args: GetNetworkOutputArgs, opts?: InvokeOptions): Output<GetNetworkResult>def get_network(name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetNetworkResult
def get_network_output(name: Optional[pulumi.Input[str]] = None,
                resource_group_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetNetworkResult]func LookupNetwork(ctx *Context, args *LookupNetworkArgs, opts ...InvokeOption) (*LookupNetworkResult, error)
func LookupNetworkOutput(ctx *Context, args *LookupNetworkOutputArgs, opts ...InvokeOption) LookupNetworkResultOutput> Note: This function is named LookupNetwork in the Go SDK.
public static class GetNetwork 
{
    public static Task<GetNetworkResult> InvokeAsync(GetNetworkArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkResult> Invoke(GetNetworkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkResult> getNetwork(GetNetworkArgs args, InvokeOptions options)
public static Output<GetNetworkResult> getNetwork(GetNetworkArgs args, InvokeOptions options)
fn::invoke:
  function: azure:mobile/getNetwork:getNetwork
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Specifies the name which should be used for this Mobile Network.
- ResourceGroup stringName 
- Specifies the name of the Resource Group where the Mobile Network should exist.
- Name string
- Specifies the name which should be used for this Mobile Network.
- ResourceGroup stringName 
- Specifies the name of the Resource Group where the Mobile Network should exist.
- name String
- Specifies the name which should be used for this Mobile Network.
- resourceGroup StringName 
- Specifies the name of the Resource Group where the Mobile Network should exist.
- name string
- Specifies the name which should be used for this Mobile Network.
- resourceGroup stringName 
- Specifies the name of the Resource Group where the Mobile Network should exist.
- name str
- Specifies the name which should be used for this Mobile Network.
- resource_group_ strname 
- Specifies the name of the Resource Group where the Mobile Network should exist.
- name String
- Specifies the name which should be used for this Mobile Network.
- resourceGroup StringName 
- Specifies the name of the Resource Group where the Mobile Network should exist.
getNetwork Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Azure Region where the Mobile Network should exist. Changing this forces a new Mobile Network to be created.
- MobileCountry stringCode 
- Mobile country code (MCC), defined in https://www.itu.int/rec/T-REC-E.212 .
- MobileNetwork stringCode 
- Mobile network code (MNC), defined in https://www.itu.int/rec/T-REC-E.212 .
- Name string
- ResourceGroup stringName 
- ServiceKey string
- The mobile network resource identifier.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Mobile Network.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Azure Region where the Mobile Network should exist. Changing this forces a new Mobile Network to be created.
- MobileCountry stringCode 
- Mobile country code (MCC), defined in https://www.itu.int/rec/T-REC-E.212 .
- MobileNetwork stringCode 
- Mobile network code (MNC), defined in https://www.itu.int/rec/T-REC-E.212 .
- Name string
- ResourceGroup stringName 
- ServiceKey string
- The mobile network resource identifier.
- map[string]string
- A mapping of tags which should be assigned to the Mobile Network.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Azure Region where the Mobile Network should exist. Changing this forces a new Mobile Network to be created.
- mobileCountry StringCode 
- Mobile country code (MCC), defined in https://www.itu.int/rec/T-REC-E.212 .
- mobileNetwork StringCode 
- Mobile network code (MNC), defined in https://www.itu.int/rec/T-REC-E.212 .
- name String
- resourceGroup StringName 
- serviceKey String
- The mobile network resource identifier.
- Map<String,String>
- A mapping of tags which should be assigned to the Mobile Network.
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The Azure Region where the Mobile Network should exist. Changing this forces a new Mobile Network to be created.
- mobileCountry stringCode 
- Mobile country code (MCC), defined in https://www.itu.int/rec/T-REC-E.212 .
- mobileNetwork stringCode 
- Mobile network code (MNC), defined in https://www.itu.int/rec/T-REC-E.212 .
- name string
- resourceGroup stringName 
- serviceKey string
- The mobile network resource identifier.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Mobile Network.
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- The Azure Region where the Mobile Network should exist. Changing this forces a new Mobile Network to be created.
- mobile_country_ strcode 
- Mobile country code (MCC), defined in https://www.itu.int/rec/T-REC-E.212 .
- mobile_network_ strcode 
- Mobile network code (MNC), defined in https://www.itu.int/rec/T-REC-E.212 .
- name str
- resource_group_ strname 
- service_key str
- The mobile network resource identifier.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Mobile Network.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Azure Region where the Mobile Network should exist. Changing this forces a new Mobile Network to be created.
- mobileCountry StringCode 
- Mobile country code (MCC), defined in https://www.itu.int/rec/T-REC-E.212 .
- mobileNetwork StringCode 
- Mobile network code (MNC), defined in https://www.itu.int/rec/T-REC-E.212 .
- name String
- resourceGroup StringName 
- serviceKey String
- The mobile network resource identifier.
- Map<String>
- A mapping of tags which should be assigned to the Mobile Network.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.