We recommend using Azure Native.
Viewing docs for Azure v5.89.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
Viewing docs for Azure v5.89.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
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/v5/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.
- Resource
Group 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.
- Resource
Group 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.
- resource
Group 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.
- resource
Group 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.
- resource
Group 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.
- Mobile
Country stringCode - Mobile country code (MCC), defined in https://www.itu.int/rec/T-REC-E.212 .
- Mobile
Network stringCode - Mobile network code (MNC), defined in https://www.itu.int/rec/T-REC-E.212 .
- Name string
- Resource
Group stringName - Service
Key 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.
- Mobile
Country stringCode - Mobile country code (MCC), defined in https://www.itu.int/rec/T-REC-E.212 .
- Mobile
Network stringCode - Mobile network code (MNC), defined in https://www.itu.int/rec/T-REC-E.212 .
- Name string
- Resource
Group stringName - Service
Key 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.
- mobile
Country StringCode - Mobile country code (MCC), defined in https://www.itu.int/rec/T-REC-E.212 .
- mobile
Network StringCode - Mobile network code (MNC), defined in https://www.itu.int/rec/T-REC-E.212 .
- name String
- resource
Group StringName - service
Key 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.
- mobile
Country stringCode - Mobile country code (MCC), defined in https://www.itu.int/rec/T-REC-E.212 .
- mobile
Network stringCode - Mobile network code (MNC), defined in https://www.itu.int/rec/T-REC-E.212 .
- name string
- resource
Group stringName - service
Key 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.
- mobile
Country StringCode - Mobile country code (MCC), defined in https://www.itu.int/rec/T-REC-E.212 .
- mobile
Network StringCode - Mobile network code (MNC), defined in https://www.itu.int/rec/T-REC-E.212 .
- name String
- resource
Group StringName - service
Key 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.
We recommend using Azure Native.
Viewing docs for Azure v5.89.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
