Data Network
Data network resource. Must be created in the same location as its parent mobile network. Uses Azure REST API version 2023-06-01. In version 1.x of the Azure Native provider, it used API version 2022-04-01-preview. Other available API versions: 2022-04-01-preview, 2022-11-01, 2023-09-01, 2024-02-01, 2024-04-01.
Example Usage
Create data network
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataNetwork = new AzureNative.MobileNetwork.DataNetwork("dataNetwork", new()
{
DataNetworkName = "testDataNetwork",
Description = "myFavouriteDataNetwork",
Location = "eastus",
MobileNetworkName = "testMobileNetwork",
ResourceGroupName = "rg1",
});
});
Content copied to clipboard
package main
import (
mobilenetwork "github.com/pulumi/pulumi-azure-native-sdk/mobilenetwork/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mobilenetwork.NewDataNetwork(ctx, "dataNetwork", &mobilenetwork.DataNetworkArgs{
DataNetworkName: pulumi.String("testDataNetwork"),
Description: pulumi.String("myFavouriteDataNetwork"),
Location: pulumi.String("eastus"),
MobileNetworkName: pulumi.String("testMobileNetwork"),
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.DataNetwork;
import com.pulumi.azurenative.mobilenetwork.DataNetworkArgs;
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 dataNetwork = new DataNetwork("dataNetwork", DataNetworkArgs.builder()
.dataNetworkName("testDataNetwork")
.description("myFavouriteDataNetwork")
.location("eastus")
.mobileNetworkName("testMobileNetwork")
.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:DataNetwork testDataNetwork /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}
Content copied to clipboard
Properties
Link copied to clipboard
An optional description for this data network.
Link copied to clipboard
The provisioning state of the data network resource.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.