Mobile Network Args
data class MobileNetworkArgs(val createdAt: Output<String>? = null, val createdBy: Output<String>? = null, val createdByType: Output<Either<String, CreatedByType>>? = null, val lastModifiedAt: Output<String>? = null, val lastModifiedBy: Output<String>? = null, val lastModifiedByType: Output<Either<String, CreatedByType>>? = null, val location: Output<String>? = null, val mobileNetworkName: Output<String>? = null, val publicLandMobileNetworkIdentifier: Output<PlmnIdArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<MobileNetworkArgs>
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",
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(createdAt: Output<String>? = null, createdBy: Output<String>? = null, createdByType: Output<Either<String, CreatedByType>>? = null, lastModifiedAt: Output<String>? = null, lastModifiedBy: Output<String>? = null, lastModifiedByType: Output<Either<String, CreatedByType>>? = null, location: Output<String>? = null, mobileNetworkName: Output<String>? = null, publicLandMobileNetworkIdentifier: Output<PlmnIdArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
The type of identity that created the resource.
Link copied to clipboard
The timestamp of resource last modification (UTC)
Link copied to clipboard
The identity that last modified the resource.
Link copied to clipboard
The type of identity that last modified the resource.
Link copied to clipboard
The name of the mobile network.
Link copied to clipboard
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.
Link copied to clipboard
The name of the resource group. The name is case insensitive.