Mobile Network
Mobile network resource. API Version: 2022-04-01-preview.
Example Usage
Create mobile network
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var mobileNetwork = new AzureNative.MobileNetwork.MobileNetwork("mobileNetwork", new()
{
Location = "eastus",
MobileNetworkName = "testMobileNetwork",
PublicLandMobileNetworkIdentifier = new AzureNative.MobileNetwork.Inputs.PlmnIdArgs
{
Mcc = "001",
Mnc = "01",
},
ResourceGroupName = "rg1",
});
});
package main
import (
mobilenetwork "github.com/pulumi/pulumi-azure-native-sdk/mobilenetwork"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mobilenetwork.NewMobileNetwork(ctx, "mobileNetwork", &mobilenetwork.MobileNetworkArgs{
Location: pulumi.String("eastus"),
MobileNetworkName: pulumi.String("testMobileNetwork"),
PublicLandMobileNetworkIdentifier: &mobilenetwork.PlmnIdArgs{
Mcc: pulumi.String("001"),
Mnc: pulumi.String("01"),
},
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.mobilenetwork.MobileNetwork;
import com.pulumi.azurenative.mobilenetwork.MobileNetworkArgs;
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) {
var mobileNetwork = new MobileNetwork("mobileNetwork", MobileNetworkArgs.builder()
.location("eastus")
.mobileNetworkName("testMobileNetwork")
.publicLandMobileNetworkIdentifier(Map.ofEntries(
Map.entry("mcc", "001"),
Map.entry("mnc", "01")
))
.resourceGroupName("rg1")
.build());
}
}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:mobilenetwork:MobileNetwork testMobileNetwork /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork
Properties
The type of identity that created the resource.
The timestamp of resource last modification (UTC)
The identity that last modified the resource.
The type of identity that last modified the resource.
The provisioning state of the mobile network resource.
The unique public land mobile network identifier for the network. This is made up of the mobile country code and mobile network code, as defined in https://www.itu.int/rec/T-REC-E.212. The values 001-01 and 001-001 can be used for testing and the values 999-99 and 999-999 can be used on internal private networks.
The mobile network resource identifier
Azure Resource Manager metadata containing createdBy and modifiedBy information.