We recommend using Azure Native.
Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi
azure.mobile.getNetworkAttachedDataNetwork
Explore with Pulumi AI
Use this data source to access information about an existing Mobile Network Attached Data Network.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.mobile.getNetworkPacketCoreControlPlane({
    name: "example-mnpccp",
    resourceGroupName: "example-rg",
});
const exampleGetNetworkAttachedDataNetwork = Promise.all([example, example]).then(([example, example1]) => azure.mobile.getNetworkAttachedDataNetwork({
    mobileNetworkDataNetworkName: example.name,
    mobileNetworkPacketCoreDataPlaneId: example1.id,
}));
import pulumi
import pulumi_azure as azure
example = azure.mobile.get_network_packet_core_control_plane(name="example-mnpccp",
    resource_group_name="example-rg")
example_get_network_attached_data_network = azure.mobile.get_network_attached_data_network(mobile_network_data_network_name=example.name,
    mobile_network_packet_core_data_plane_id=example.id)
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/mobile"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := mobile.LookupNetworkPacketCoreControlPlane(ctx, &mobile.LookupNetworkPacketCoreControlPlaneArgs{
			Name:              "example-mnpccp",
			ResourceGroupName: "example-rg",
		}, nil)
		if err != nil {
			return err
		}
		_, err = mobile.LookupNetworkAttachedDataNetwork(ctx, &mobile.LookupNetworkAttachedDataNetworkArgs{
			MobileNetworkDataNetworkName:       example.Name,
			MobileNetworkPacketCoreDataPlaneId: example.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = Azure.Mobile.GetNetworkPacketCoreControlPlane.Invoke(new()
    {
        Name = "example-mnpccp",
        ResourceGroupName = "example-rg",
    });
    var exampleGetNetworkAttachedDataNetwork = Azure.Mobile.GetNetworkAttachedDataNetwork.Invoke(new()
    {
        MobileNetworkDataNetworkName = example.Apply(getNetworkPacketCoreControlPlaneResult => getNetworkPacketCoreControlPlaneResult.Name),
        MobileNetworkPacketCoreDataPlaneId = example.Apply(getNetworkPacketCoreControlPlaneResult => getNetworkPacketCoreControlPlaneResult.Id),
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.mobile.MobileFunctions;
import com.pulumi.azure.mobile.inputs.GetNetworkPacketCoreControlPlaneArgs;
import com.pulumi.azure.mobile.inputs.GetNetworkAttachedDataNetworkArgs;
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) {
        final var example = MobileFunctions.getNetworkPacketCoreControlPlane(GetNetworkPacketCoreControlPlaneArgs.builder()
            .name("example-mnpccp")
            .resourceGroupName("example-rg")
            .build());
        final var exampleGetNetworkAttachedDataNetwork = MobileFunctions.getNetworkAttachedDataNetwork(GetNetworkAttachedDataNetworkArgs.builder()
            .mobileNetworkDataNetworkName(example.applyValue(getNetworkPacketCoreControlPlaneResult -> getNetworkPacketCoreControlPlaneResult.name()))
            .mobileNetworkPacketCoreDataPlaneId(example.applyValue(getNetworkPacketCoreControlPlaneResult -> getNetworkPacketCoreControlPlaneResult.id()))
            .build());
    }
}
variables:
  example:
    fn::invoke:
      Function: azure:mobile:getNetworkPacketCoreControlPlane
      Arguments:
        name: example-mnpccp
        resourceGroupName: example-rg
  exampleGetNetworkAttachedDataNetwork:
    fn::invoke:
      Function: azure:mobile:getNetworkAttachedDataNetwork
      Arguments:
        mobileNetworkDataNetworkName: ${example.name}
        mobileNetworkPacketCoreDataPlaneId: ${example.id}
Using getNetworkAttachedDataNetwork
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNetworkAttachedDataNetwork(args: GetNetworkAttachedDataNetworkArgs, opts?: InvokeOptions): Promise<GetNetworkAttachedDataNetworkResult>
function getNetworkAttachedDataNetworkOutput(args: GetNetworkAttachedDataNetworkOutputArgs, opts?: InvokeOptions): Output<GetNetworkAttachedDataNetworkResult>def get_network_attached_data_network(mobile_network_data_network_name: Optional[str] = None,
                                      mobile_network_packet_core_data_plane_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetNetworkAttachedDataNetworkResult
def get_network_attached_data_network_output(mobile_network_data_network_name: Optional[pulumi.Input[str]] = None,
                                      mobile_network_packet_core_data_plane_id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetNetworkAttachedDataNetworkResult]func LookupNetworkAttachedDataNetwork(ctx *Context, args *LookupNetworkAttachedDataNetworkArgs, opts ...InvokeOption) (*LookupNetworkAttachedDataNetworkResult, error)
func LookupNetworkAttachedDataNetworkOutput(ctx *Context, args *LookupNetworkAttachedDataNetworkOutputArgs, opts ...InvokeOption) LookupNetworkAttachedDataNetworkResultOutput> Note: This function is named LookupNetworkAttachedDataNetwork in the Go SDK.
public static class GetNetworkAttachedDataNetwork 
{
    public static Task<GetNetworkAttachedDataNetworkResult> InvokeAsync(GetNetworkAttachedDataNetworkArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkAttachedDataNetworkResult> Invoke(GetNetworkAttachedDataNetworkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkAttachedDataNetworkResult> getNetworkAttachedDataNetwork(GetNetworkAttachedDataNetworkArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure:mobile/getNetworkAttachedDataNetwork:getNetworkAttachedDataNetwork
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MobileNetwork stringData Network Name 
- The Name of the azure.mobile.NetworkDataNetworkthis resource belongs to.
- MobileNetwork stringPacket Core Data Plane Id 
- The ID of the azure.mobile.NetworkPacketCoreDataPlanewhich the Mobile Network Attached Data Network belongs to.
- MobileNetwork stringData Network Name 
- The Name of the azure.mobile.NetworkDataNetworkthis resource belongs to.
- MobileNetwork stringPacket Core Data Plane Id 
- The ID of the azure.mobile.NetworkPacketCoreDataPlanewhich the Mobile Network Attached Data Network belongs to.
- mobileNetwork StringData Network Name 
- The Name of the azure.mobile.NetworkDataNetworkthis resource belongs to.
- mobileNetwork StringPacket Core Data Plane Id 
- The ID of the azure.mobile.NetworkPacketCoreDataPlanewhich the Mobile Network Attached Data Network belongs to.
- mobileNetwork stringData Network Name 
- The Name of the azure.mobile.NetworkDataNetworkthis resource belongs to.
- mobileNetwork stringPacket Core Data Plane Id 
- The ID of the azure.mobile.NetworkPacketCoreDataPlanewhich the Mobile Network Attached Data Network belongs to.
- mobile_network_ strdata_ network_ name 
- The Name of the azure.mobile.NetworkDataNetworkthis resource belongs to.
- mobile_network_ strpacket_ core_ data_ plane_ id 
- The ID of the azure.mobile.NetworkPacketCoreDataPlanewhich the Mobile Network Attached Data Network belongs to.
- mobileNetwork StringData Network Name 
- The Name of the azure.mobile.NetworkDataNetworkthis resource belongs to.
- mobileNetwork StringPacket Core Data Plane Id 
- The ID of the azure.mobile.NetworkPacketCoreDataPlanewhich the Mobile Network Attached Data Network belongs to.
getNetworkAttachedDataNetwork Result
The following output properties are available:
- DnsAddresses List<string>
- The DNS servers to signal to UEs to use for this attached data network.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Azure Region where the Mobile Network Attached Data Network should exist.
- MobileNetwork stringData Network Name 
- MobileNetwork stringPacket Core Data Plane Id 
- NetworkAddress List<GetPort Translations Network Attached Data Network Network Address Port Translation> 
- A network_address_port_translationblock as defined below.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
- UserEquipment List<string>Address Pool Prefixes 
- UserEquipment List<string>Static Address Pool Prefixes 
- UserPlane stringAccess Ipv4Address 
- The IPv4 address for the user data plane interface.
- UserPlane stringAccess Ipv4Gateway 
- The default IPv4 gateway for the user data plane interface.
- UserPlane stringAccess Ipv4Subnet 
- The IPv4 subnet for the user data plane interface.
- UserPlane stringAccess Name 
- The logical name for thie user data plane interface.
- DnsAddresses []string
- The DNS servers to signal to UEs to use for this attached data network.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Azure Region where the Mobile Network Attached Data Network should exist.
- MobileNetwork stringData Network Name 
- MobileNetwork stringPacket Core Data Plane Id 
- NetworkAddress []GetPort Translations Network Attached Data Network Network Address Port Translation 
- A network_address_port_translationblock as defined below.
- map[string]string
- A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
- UserEquipment []stringAddress Pool Prefixes 
- UserEquipment []stringStatic Address Pool Prefixes 
- UserPlane stringAccess Ipv4Address 
- The IPv4 address for the user data plane interface.
- UserPlane stringAccess Ipv4Gateway 
- The default IPv4 gateway for the user data plane interface.
- UserPlane stringAccess Ipv4Subnet 
- The IPv4 subnet for the user data plane interface.
- UserPlane stringAccess Name 
- The logical name for thie user data plane interface.
- dnsAddresses List<String>
- The DNS servers to signal to UEs to use for this attached data network.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Azure Region where the Mobile Network Attached Data Network should exist.
- mobileNetwork StringData Network Name 
- mobileNetwork StringPacket Core Data Plane Id 
- networkAddress List<GetPort Translations Network Attached Data Network Network Address Port Translation> 
- A network_address_port_translationblock as defined below.
- Map<String,String>
- A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
- userEquipment List<String>Address Pool Prefixes 
- userEquipment List<String>Static Address Pool Prefixes 
- userPlane StringAccess Ipv4Address 
- The IPv4 address for the user data plane interface.
- userPlane StringAccess Ipv4Gateway 
- The default IPv4 gateway for the user data plane interface.
- userPlane StringAccess Ipv4Subnet 
- The IPv4 subnet for the user data plane interface.
- userPlane StringAccess Name 
- The logical name for thie user data plane interface.
- dnsAddresses string[]
- The DNS servers to signal to UEs to use for this attached data network.
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The Azure Region where the Mobile Network Attached Data Network should exist.
- mobileNetwork stringData Network Name 
- mobileNetwork stringPacket Core Data Plane Id 
- networkAddress GetPort Translations Network Attached Data Network Network Address Port Translation[] 
- A network_address_port_translationblock as defined below.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
- userEquipment string[]Address Pool Prefixes 
- userEquipment string[]Static Address Pool Prefixes 
- userPlane stringAccess Ipv4Address 
- The IPv4 address for the user data plane interface.
- userPlane stringAccess Ipv4Gateway 
- The default IPv4 gateway for the user data plane interface.
- userPlane stringAccess Ipv4Subnet 
- The IPv4 subnet for the user data plane interface.
- userPlane stringAccess Name 
- The logical name for thie user data plane interface.
- dns_addresses Sequence[str]
- The DNS servers to signal to UEs to use for this attached data network.
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- The Azure Region where the Mobile Network Attached Data Network should exist.
- mobile_network_ strdata_ network_ name 
- mobile_network_ strpacket_ core_ data_ plane_ id 
- network_address_ Sequence[Getport_ translations Network Attached Data Network Network Address Port Translation] 
- A network_address_port_translationblock as defined below.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
- user_equipment_ Sequence[str]address_ pool_ prefixes 
- user_equipment_ Sequence[str]static_ address_ pool_ prefixes 
- user_plane_ straccess_ ipv4_ address 
- The IPv4 address for the user data plane interface.
- user_plane_ straccess_ ipv4_ gateway 
- The default IPv4 gateway for the user data plane interface.
- user_plane_ straccess_ ipv4_ subnet 
- The IPv4 subnet for the user data plane interface.
- user_plane_ straccess_ name 
- The logical name for thie user data plane interface.
- dnsAddresses List<String>
- The DNS servers to signal to UEs to use for this attached data network.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Azure Region where the Mobile Network Attached Data Network should exist.
- mobileNetwork StringData Network Name 
- mobileNetwork StringPacket Core Data Plane Id 
- networkAddress List<Property Map>Port Translations 
- A network_address_port_translationblock as defined below.
- Map<String>
- A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
- userEquipment List<String>Address Pool Prefixes 
- userEquipment List<String>Static Address Pool Prefixes 
- userPlane StringAccess Ipv4Address 
- The IPv4 address for the user data plane interface.
- userPlane StringAccess Ipv4Gateway 
- The default IPv4 gateway for the user data plane interface.
- userPlane StringAccess Ipv4Subnet 
- The IPv4 subnet for the user data plane interface.
- userPlane StringAccess Name 
- The logical name for thie user data plane interface.
Supporting Types
GetNetworkAttachedDataNetworkNetworkAddressPortTranslation        
- IcmpPinhole intTimeout In Seconds 
- PortRanges List<GetNetwork Attached Data Network Network Address Port Translation Port Range> 
- A port_rangeblock as defined below.
- TcpPinhole intTimeout In Seconds 
- TcpPort intReuse Minimum Hold Time In Seconds 
- Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
- UdpPinhole intTimeout In Seconds 
- UdpPort intReuse Minimum Hold Time In Seconds 
- Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
- PinholeMaximum intNumber 
- IcmpPinhole intTimeout In Seconds 
- PortRanges []GetNetwork Attached Data Network Network Address Port Translation Port Range 
- A port_rangeblock as defined below.
- TcpPinhole intTimeout In Seconds 
- TcpPort intReuse Minimum Hold Time In Seconds 
- Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
- UdpPinhole intTimeout In Seconds 
- UdpPort intReuse Minimum Hold Time In Seconds 
- Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
- PinholeMaximum intNumber 
- icmpPinhole IntegerTimeout In Seconds 
- portRanges List<GetNetwork Attached Data Network Network Address Port Translation Port Range> 
- A port_rangeblock as defined below.
- tcpPinhole IntegerTimeout In Seconds 
- tcpPort IntegerReuse Minimum Hold Time In Seconds 
- Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
- udpPinhole IntegerTimeout In Seconds 
- udpPort IntegerReuse Minimum Hold Time In Seconds 
- Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
- pinholeMaximum IntegerNumber 
- icmpPinhole numberTimeout In Seconds 
- portRanges GetNetwork Attached Data Network Network Address Port Translation Port Range[] 
- A port_rangeblock as defined below.
- tcpPinhole numberTimeout In Seconds 
- tcpPort numberReuse Minimum Hold Time In Seconds 
- Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
- udpPinhole numberTimeout In Seconds 
- udpPort numberReuse Minimum Hold Time In Seconds 
- Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
- pinholeMaximum numberNumber 
- icmp_pinhole_ inttimeout_ in_ seconds 
- port_ranges Sequence[GetNetwork Attached Data Network Network Address Port Translation Port Range] 
- A port_rangeblock as defined below.
- tcp_pinhole_ inttimeout_ in_ seconds 
- tcp_port_ intreuse_ minimum_ hold_ time_ in_ seconds 
- Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
- udp_pinhole_ inttimeout_ in_ seconds 
- udp_port_ intreuse_ minimum_ hold_ time_ in_ seconds 
- Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
- pinhole_maximum_ intnumber 
- icmpPinhole NumberTimeout In Seconds 
- portRanges List<Property Map>
- A port_rangeblock as defined below.
- tcpPinhole NumberTimeout In Seconds 
- tcpPort NumberReuse Minimum Hold Time In Seconds 
- Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
- udpPinhole NumberTimeout In Seconds 
- udpPort NumberReuse Minimum Hold Time In Seconds 
- Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
- pinholeMaximum NumberNumber 
GetNetworkAttachedDataNetworkNetworkAddressPortTranslationPortRange          
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.