AttachedDataNetworkArgs

data class AttachedDataNetworkArgs(val attachedDataNetworkName: Output<String>? = null, val createdAt: Output<String>? = null, val createdBy: Output<String>? = null, val createdByType: Output<Either<String, CreatedByType>>? = null, val dnsAddresses: Output<List<String>>? = null, val lastModifiedAt: Output<String>? = null, val lastModifiedBy: Output<String>? = null, val lastModifiedByType: Output<Either<String, CreatedByType>>? = null, val location: Output<String>? = null, val naptConfiguration: Output<NaptConfigurationArgs>? = null, val packetCoreControlPlaneName: Output<String>? = null, val packetCoreDataPlaneName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val userEquipmentAddressPoolPrefix: Output<List<String>>? = null, val userEquipmentStaticAddressPoolPrefix: Output<List<String>>? = null, val userPlaneDataInterface: Output<InterfacePropertiesArgs>? = null) : ConvertibleToJava<AttachedDataNetworkArgs>

Attached data network resource. API Version: 2022-04-01-preview.

Example Usage

Create attached data network

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var attachedDataNetwork = new AzureNative.MobileNetwork.AttachedDataNetwork("attachedDataNetwork", new()
{
AttachedDataNetworkName = "TestAttachedDataNetwork",
DnsAddresses = new[]
{
"1.1.1.1",
},
Location = "eastus",
NaptConfiguration = new AzureNative.MobileNetwork.Inputs.NaptConfigurationArgs
{
Enabled = "Enabled",
PinholeLimits = 65536,
PinholeTimeouts = new AzureNative.MobileNetwork.Inputs.PinholeTimeoutsArgs
{
Icmp = 30,
Tcp = 180,
Udp = 30,
},
PortRange = new AzureNative.MobileNetwork.Inputs.PortRangeArgs
{
MaxPort = 49999,
MinPort = 1024,
},
PortReuseHoldTime = new AzureNative.MobileNetwork.Inputs.PortReuseHoldTimesArgs
{
Tcp = 120,
Udp = 60,
},
},
PacketCoreControlPlaneName = "TestPacketCoreCP",
PacketCoreDataPlaneName = "TestPacketCoreDP",
ResourceGroupName = "rg1",
UserEquipmentAddressPoolPrefix = new[]
{
"2.2.0.0/16",
},
UserEquipmentStaticAddressPoolPrefix = new[]
{
"2.4.0.0/16",
},
UserPlaneDataInterface = new AzureNative.MobileNetwork.Inputs.InterfacePropertiesArgs
{
Name = "N6",
},
});
});
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.NewAttachedDataNetwork(ctx, "attachedDataNetwork", &mobilenetwork.AttachedDataNetworkArgs{
AttachedDataNetworkName: pulumi.String("TestAttachedDataNetwork"),
DnsAddresses: pulumi.StringArray{
pulumi.String("1.1.1.1"),
},
Location: pulumi.String("eastus"),
NaptConfiguration: mobilenetwork.NaptConfigurationResponse{
Enabled: pulumi.String("Enabled"),
PinholeLimits: pulumi.Int(65536),
PinholeTimeouts: &mobilenetwork.PinholeTimeoutsArgs{
Icmp: pulumi.Int(30),
Tcp: pulumi.Int(180),
Udp: pulumi.Int(30),
},
PortRange: &mobilenetwork.PortRangeArgs{
MaxPort: pulumi.Int(49999),
MinPort: pulumi.Int(1024),
},
PortReuseHoldTime: &mobilenetwork.PortReuseHoldTimesArgs{
Tcp: pulumi.Int(120),
Udp: pulumi.Int(60),
},
},
PacketCoreControlPlaneName: pulumi.String("TestPacketCoreCP"),
PacketCoreDataPlaneName: pulumi.String("TestPacketCoreDP"),
ResourceGroupName: pulumi.String("rg1"),
UserEquipmentAddressPoolPrefix: pulumi.StringArray{
pulumi.String("2.2.0.0/16"),
},
UserEquipmentStaticAddressPoolPrefix: pulumi.StringArray{
pulumi.String("2.4.0.0/16"),
},
UserPlaneDataInterface: &mobilenetwork.InterfacePropertiesArgs{
Name: pulumi.String("N6"),
},
})
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.AttachedDataNetwork;
import com.pulumi.azurenative.mobilenetwork.AttachedDataNetworkArgs;
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 attachedDataNetwork = new AttachedDataNetwork("attachedDataNetwork", AttachedDataNetworkArgs.builder()
.attachedDataNetworkName("TestAttachedDataNetwork")
.dnsAddresses("1.1.1.1")
.location("eastus")
.naptConfiguration(Map.ofEntries(
Map.entry("enabled", "Enabled"),
Map.entry("pinholeLimits", 65536),
Map.entry("pinholeTimeouts", Map.ofEntries(
Map.entry("icmp", 30),
Map.entry("tcp", 180),
Map.entry("udp", 30)
)),
Map.entry("portRange", Map.ofEntries(
Map.entry("maxPort", 49999),
Map.entry("minPort", 1024)
)),
Map.entry("portReuseHoldTime", Map.ofEntries(
Map.entry("tcp", 120),
Map.entry("udp", 60)
))
))
.packetCoreControlPlaneName("TestPacketCoreCP")
.packetCoreDataPlaneName("TestPacketCoreDP")
.resourceGroupName("rg1")
.userEquipmentAddressPoolPrefix("2.2.0.0/16")
.userEquipmentStaticAddressPoolPrefix("2.4.0.0/16")
.userPlaneDataInterface(Map.of("name", "N6"))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:mobilenetwork:AttachedDataNetwork TestAttachedDataNetwork /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork

Constructors

Link copied to clipboard
constructor(attachedDataNetworkName: Output<String>? = null, createdAt: Output<String>? = null, createdBy: Output<String>? = null, createdByType: Output<Either<String, CreatedByType>>? = null, dnsAddresses: Output<List<String>>? = null, lastModifiedAt: Output<String>? = null, lastModifiedBy: Output<String>? = null, lastModifiedByType: Output<Either<String, CreatedByType>>? = null, location: Output<String>? = null, naptConfiguration: Output<NaptConfigurationArgs>? = null, packetCoreControlPlaneName: Output<String>? = null, packetCoreDataPlaneName: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, userEquipmentAddressPoolPrefix: Output<List<String>>? = null, userEquipmentStaticAddressPoolPrefix: Output<List<String>>? = null, userPlaneDataInterface: Output<InterfacePropertiesArgs>? = null)

Properties

Link copied to clipboard
val attachedDataNetworkName: Output<String>? = null

The name of the attached data network.

Link copied to clipboard
val createdAt: Output<String>? = null

The timestamp of resource creation (UTC).

Link copied to clipboard
val createdBy: Output<String>? = null

The identity that created the resource.

Link copied to clipboard
val createdByType: Output<Either<String, CreatedByType>>? = null

The type of identity that created the resource.

Link copied to clipboard
val dnsAddresses: Output<List<String>>? = null

The DNS servers to signal to UEs to use for this attached data network.

Link copied to clipboard
val lastModifiedAt: Output<String>? = null

The timestamp of resource last modification (UTC)

Link copied to clipboard
val lastModifiedBy: Output<String>? = null

The identity that last modified the resource.

Link copied to clipboard
val lastModifiedByType: Output<Either<String, CreatedByType>>? = null

The type of identity that last modified the resource.

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard

The network address and port translation (NAPT) configuration. If this is not specified, the attached data network will use a default NAPT configuration with NAPT enabled.

Link copied to clipboard
val packetCoreControlPlaneName: Output<String>? = null

The name of the packet core control plane.

Link copied to clipboard
val packetCoreDataPlaneName: Output<String>? = null

The name of the packet core data plane.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Link copied to clipboard

The user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will dynamically assign IP addresses to UEs. The packet core instance assigns an IP address to a UE when the UE sets up a PDU session. You must define at least one of userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix. If you define both, they must be of the same size.

Link copied to clipboard

The user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will assign static IP addresses to UEs. The packet core instance assigns an IP address to a UE when the UE sets up a PDU session. The static IP address for a specific UE is set in StaticIPConfiguration on the corresponding SIM resource. At least one of userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined, they must be of the same size.

Link copied to clipboard

The user plane interface on the data network. For 5G networks, this is the N6 interface. For 4G networks, this is the SGi interface.

Functions

Link copied to clipboard
open override fun toJava(): AttachedDataNetworkArgs