NetworkAttachedDataNetwork

class NetworkAttachedDataNetwork : KotlinCustomResource

Manages a Mobile Network Attached Data Network.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.databoxedge.Device;
import com.pulumi.azure.databoxedge.DeviceArgs;
import com.pulumi.azure.mobile.Network;
import com.pulumi.azure.mobile.NetworkArgs;
import com.pulumi.azure.mobile.NetworkPacketCoreControlPlane;
import com.pulumi.azure.mobile.NetworkPacketCoreControlPlaneArgs;
import com.pulumi.azure.mobile.inputs.NetworkPacketCoreControlPlanePlatformArgs;
import com.pulumi.azure.mobile.NetworkPacketCoreDataPlane;
import com.pulumi.azure.mobile.NetworkPacketCoreDataPlaneArgs;
import com.pulumi.azure.mobile.NetworkDataNetwork;
import com.pulumi.azure.mobile.NetworkDataNetworkArgs;
import com.pulumi.azure.mobile.NetworkAttachedDataNetwork;
import com.pulumi.azure.mobile.NetworkAttachedDataNetworkArgs;
import com.pulumi.azure.mobile.inputs.NetworkAttachedDataNetworkNetworkAddressPortTranslationArgs;
import com.pulumi.azure.mobile.inputs.NetworkAttachedDataNetworkNetworkAddressPortTranslationPortRangeArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleDevice = new Device("exampleDevice", DeviceArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.skuName("EdgeP_Base-Standard")
.build());
var exampleNetwork = new Network("exampleNetwork", NetworkArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.mobileCountryCode("001")
.mobileNetworkCode("01")
.build());
var exampleNetworkPacketCoreControlPlane = new NetworkPacketCoreControlPlane("exampleNetworkPacketCoreControlPlane", NetworkPacketCoreControlPlaneArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location("West Europe")
.sku("G0")
.mobileNetworkId(exampleNetwork.id())
.controlPlaneAccessName("default-interface")
.controlPlaneAccessIpv4Address("192.168.1.199")
.controlPlaneAccessIpv4Gateway("192.168.1.1")
.controlPlaneAccessIpv4Subnet("192.168.1.0/25")
.platform(NetworkPacketCoreControlPlanePlatformArgs.builder()
.type("AKS-HCI")
.edgeDeviceId(exampleDevice.id())
.build())
.build());
var exampleNetworkPacketCoreDataPlane = new NetworkPacketCoreDataPlane("exampleNetworkPacketCoreDataPlane", NetworkPacketCoreDataPlaneArgs.builder()
.mobileNetworkPacketCoreControlPlaneId(exampleNetworkPacketCoreControlPlane.id())
.location(exampleResourceGroup.location())
.userPlaneAccessName("default-interface")
.userPlaneAccessIpv4Address("192.168.1.199")
.userPlaneAccessIpv4Gateway("192.168.1.1")
.userPlaneAccessIpv4Subnet("192.168.1.0/25")
.build());
var exampleNetworkDataNetwork = new NetworkDataNetwork("exampleNetworkDataNetwork", NetworkDataNetworkArgs.builder()
.mobileNetworkId(exampleNetwork.id())
.location(exampleResourceGroup.location())
.build());
var exampleNetworkAttachedDataNetwork = new NetworkAttachedDataNetwork("exampleNetworkAttachedDataNetwork", NetworkAttachedDataNetworkArgs.builder()
.mobileNetworkDataNetworkName(exampleNetworkDataNetwork.name())
.mobileNetworkPacketCoreDataPlaneId(exampleNetworkPacketCoreDataPlane.id())
.location(exampleResourceGroup.location())
.dnsAddresses("1.1.1.1")
.userEquipmentAddressPoolPrefixes("2.4.1.0/24")
.userEquipmentStaticAddressPoolPrefixes("2.4.2.0/24")
.userPlaneAccessName("test")
.userPlaneAccessIpv4Address("10.204.141.4")
.userPlaneAccessIpv4Gateway("10.204.141.1")
.userPlaneAccessIpv4Subnet("10.204.141.0/24")
.networkAddressPortTranslation(NetworkAttachedDataNetworkNetworkAddressPortTranslationArgs.builder()
.pinholeMaximumNumber(65536)
.icmpPinholeTimeoutInSeconds(30)
.tcpPinholeTimeoutInSeconds(100)
.udpPinholeTimeoutInSeconds(39)
.portRange(NetworkAttachedDataNetworkNetworkAddressPortTranslationPortRangeArgs.builder()
.maximum(49999)
.minimum(1024)
.build())
.tcpPortReuseMinimumHoldTimeInSeconds(120)
.udpTcpPortReuseMinimumHoldTimeInSeconds(60)
.build())
.tags(Map.of("key", "value"))
.build());
}
}

Import

Mobile Network Attached Data Network can be imported using the resource id, e.g.

$ pulumi import azure:mobile/networkAttachedDataNetwork:NetworkAttachedDataNetwork example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/packetCoreControlPlane1/packetCoreDataPlanes/packetCoreDataPlane1/attachedDataNetworks/attachedDataNetwork1

Properties

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

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

Specifies the Azure Region where the Mobile Network Attached Data Network should exist. Changing this forces a new Mobile Network Attached Data Network to be created.

Link copied to clipboard

Specifies the name of the azure.mobile.NetworkDataNetwork which the Attached Data Network belongs to, Changing this forces a new Mobile Network Attached Data Network to be created.

Link copied to clipboard

Specifies the ID of the azure.mobile.NetworkPacketCoreDataPlane which the Mobile Network Attached Data Network belongs to. Changing this forces a new Mobile Network Attached Data Network to be created.

Link copied to clipboard

A network_address_port_translation block as defined below.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags which should be assigned to the Mobile Network Attached Data Network.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

The IPv4 address for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.

Link copied to clipboard

The default IPv4 gateway for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.

Link copied to clipboard

The IPv4 subnet for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.

Link copied to clipboard

Specifies the logical name for the user data plane interface. This should match one of the interfaces configured on your Azure Stack Edge device.