1. Packages
  2. Azure Classic
  3. API Docs
  4. mobile
  5. getNetworkAttachedDataNetwork

We recommend using Azure Native.

Azure Classic v5.74.0 published on Monday, Apr 29, 2024 by Pulumi

azure.mobile.getNetworkAttachedDataNetwork

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.74.0 published on Monday, Apr 29, 2024 by Pulumi

    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 dictionary

    The following arguments are supported:

    MobileNetworkDataNetworkName string
    The Name of the azure.mobile.NetworkDataNetwork this resource belongs to.
    MobileNetworkPacketCoreDataPlaneId string
    The ID of the azure.mobile.NetworkPacketCoreDataPlane which the Mobile Network Attached Data Network belongs to.
    MobileNetworkDataNetworkName string
    The Name of the azure.mobile.NetworkDataNetwork this resource belongs to.
    MobileNetworkPacketCoreDataPlaneId string
    The ID of the azure.mobile.NetworkPacketCoreDataPlane which the Mobile Network Attached Data Network belongs to.
    mobileNetworkDataNetworkName String
    The Name of the azure.mobile.NetworkDataNetwork this resource belongs to.
    mobileNetworkPacketCoreDataPlaneId String
    The ID of the azure.mobile.NetworkPacketCoreDataPlane which the Mobile Network Attached Data Network belongs to.
    mobileNetworkDataNetworkName string
    The Name of the azure.mobile.NetworkDataNetwork this resource belongs to.
    mobileNetworkPacketCoreDataPlaneId string
    The ID of the azure.mobile.NetworkPacketCoreDataPlane which the Mobile Network Attached Data Network belongs to.
    mobile_network_data_network_name str
    The Name of the azure.mobile.NetworkDataNetwork this resource belongs to.
    mobile_network_packet_core_data_plane_id str
    The ID of the azure.mobile.NetworkPacketCoreDataPlane which the Mobile Network Attached Data Network belongs to.
    mobileNetworkDataNetworkName String
    The Name of the azure.mobile.NetworkDataNetwork this resource belongs to.
    mobileNetworkPacketCoreDataPlaneId String
    The ID of the azure.mobile.NetworkPacketCoreDataPlane which 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.
    MobileNetworkDataNetworkName string
    MobileNetworkPacketCoreDataPlaneId string
    NetworkAddressPortTranslations List<GetNetworkAttachedDataNetworkNetworkAddressPortTranslation>
    A network_address_port_translation block as defined below.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
    UserEquipmentAddressPoolPrefixes List<string>
    UserEquipmentStaticAddressPoolPrefixes List<string>
    UserPlaneAccessIpv4Address string
    The IPv4 address for the user data plane interface.
    UserPlaneAccessIpv4Gateway string
    The default IPv4 gateway for the user data plane interface.
    UserPlaneAccessIpv4Subnet string
    The IPv4 subnet for the user data plane interface.
    UserPlaneAccessName string
    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.
    MobileNetworkDataNetworkName string
    MobileNetworkPacketCoreDataPlaneId string
    NetworkAddressPortTranslations []GetNetworkAttachedDataNetworkNetworkAddressPortTranslation
    A network_address_port_translation block as defined below.
    Tags map[string]string
    A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
    UserEquipmentAddressPoolPrefixes []string
    UserEquipmentStaticAddressPoolPrefixes []string
    UserPlaneAccessIpv4Address string
    The IPv4 address for the user data plane interface.
    UserPlaneAccessIpv4Gateway string
    The default IPv4 gateway for the user data plane interface.
    UserPlaneAccessIpv4Subnet string
    The IPv4 subnet for the user data plane interface.
    UserPlaneAccessName string
    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.
    mobileNetworkDataNetworkName String
    mobileNetworkPacketCoreDataPlaneId String
    networkAddressPortTranslations List<GetNetworkAttachedDataNetworkNetworkAddressPortTranslation>
    A network_address_port_translation block as defined below.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
    userEquipmentAddressPoolPrefixes List<String>
    userEquipmentStaticAddressPoolPrefixes List<String>
    userPlaneAccessIpv4Address String
    The IPv4 address for the user data plane interface.
    userPlaneAccessIpv4Gateway String
    The default IPv4 gateway for the user data plane interface.
    userPlaneAccessIpv4Subnet String
    The IPv4 subnet for the user data plane interface.
    userPlaneAccessName String
    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.
    mobileNetworkDataNetworkName string
    mobileNetworkPacketCoreDataPlaneId string
    networkAddressPortTranslations GetNetworkAttachedDataNetworkNetworkAddressPortTranslation[]
    A network_address_port_translation block as defined below.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
    userEquipmentAddressPoolPrefixes string[]
    userEquipmentStaticAddressPoolPrefixes string[]
    userPlaneAccessIpv4Address string
    The IPv4 address for the user data plane interface.
    userPlaneAccessIpv4Gateway string
    The default IPv4 gateway for the user data plane interface.
    userPlaneAccessIpv4Subnet string
    The IPv4 subnet for the user data plane interface.
    userPlaneAccessName string
    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_data_network_name str
    mobile_network_packet_core_data_plane_id str
    network_address_port_translations Sequence[GetNetworkAttachedDataNetworkNetworkAddressPortTranslation]
    A network_address_port_translation block as defined below.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
    user_equipment_address_pool_prefixes Sequence[str]
    user_equipment_static_address_pool_prefixes Sequence[str]
    user_plane_access_ipv4_address str
    The IPv4 address for the user data plane interface.
    user_plane_access_ipv4_gateway str
    The default IPv4 gateway for the user data plane interface.
    user_plane_access_ipv4_subnet str
    The IPv4 subnet for the user data plane interface.
    user_plane_access_name str
    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.
    mobileNetworkDataNetworkName String
    mobileNetworkPacketCoreDataPlaneId String
    networkAddressPortTranslations List<Property Map>
    A network_address_port_translation block as defined below.
    tags Map<String>
    A mapping of tags which should be assigned to the Mobile Network Attached Data Network.
    userEquipmentAddressPoolPrefixes List<String>
    userEquipmentStaticAddressPoolPrefixes List<String>
    userPlaneAccessIpv4Address String
    The IPv4 address for the user data plane interface.
    userPlaneAccessIpv4Gateway String
    The default IPv4 gateway for the user data plane interface.
    userPlaneAccessIpv4Subnet String
    The IPv4 subnet for the user data plane interface.
    userPlaneAccessName String
    The logical name for thie user data plane interface.

    Supporting Types

    GetNetworkAttachedDataNetworkNetworkAddressPortTranslation

    IcmpPinholeTimeoutInSeconds int
    PortRanges List<GetNetworkAttachedDataNetworkNetworkAddressPortTranslationPortRange>
    A port_range block as defined below.
    TcpPinholeTimeoutInSeconds int
    TcpPortReuseMinimumHoldTimeInSeconds int
    Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
    UdpPinholeTimeoutInSeconds int
    UdpPortReuseMinimumHoldTimeInSeconds int
    Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
    PinholeMaximumNumber int
    IcmpPinholeTimeoutInSeconds int
    PortRanges []GetNetworkAttachedDataNetworkNetworkAddressPortTranslationPortRange
    A port_range block as defined below.
    TcpPinholeTimeoutInSeconds int
    TcpPortReuseMinimumHoldTimeInSeconds int
    Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
    UdpPinholeTimeoutInSeconds int
    UdpPortReuseMinimumHoldTimeInSeconds int
    Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
    PinholeMaximumNumber int
    icmpPinholeTimeoutInSeconds Integer
    portRanges List<GetNetworkAttachedDataNetworkNetworkAddressPortTranslationPortRange>
    A port_range block as defined below.
    tcpPinholeTimeoutInSeconds Integer
    tcpPortReuseMinimumHoldTimeInSeconds Integer
    Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
    udpPinholeTimeoutInSeconds Integer
    udpPortReuseMinimumHoldTimeInSeconds Integer
    Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
    pinholeMaximumNumber Integer
    icmpPinholeTimeoutInSeconds number
    portRanges GetNetworkAttachedDataNetworkNetworkAddressPortTranslationPortRange[]
    A port_range block as defined below.
    tcpPinholeTimeoutInSeconds number
    tcpPortReuseMinimumHoldTimeInSeconds number
    Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
    udpPinholeTimeoutInSeconds number
    udpPortReuseMinimumHoldTimeInSeconds number
    Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
    pinholeMaximumNumber number
    icmp_pinhole_timeout_in_seconds int
    port_ranges Sequence[GetNetworkAttachedDataNetworkNetworkAddressPortTranslationPortRange]
    A port_range block as defined below.
    tcp_pinhole_timeout_in_seconds int
    tcp_port_reuse_minimum_hold_time_in_seconds int
    Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
    udp_pinhole_timeout_in_seconds int
    udp_port_reuse_minimum_hold_time_in_seconds int
    Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
    pinhole_maximum_number int
    icmpPinholeTimeoutInSeconds Number
    portRanges List<Property Map>
    A port_range block as defined below.
    tcpPinholeTimeoutInSeconds Number
    tcpPortReuseMinimumHoldTimeInSeconds Number
    Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused.
    udpPinholeTimeoutInSeconds Number
    udpPortReuseMinimumHoldTimeInSeconds Number
    Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused.
    pinholeMaximumNumber Number

    GetNetworkAttachedDataNetworkNetworkAddressPortTranslationPortRange

    Maximum int
    The maximum port number.
    Minimum int
    The minimum port number.
    Maximum int
    The maximum port number.
    Minimum int
    The minimum port number.
    maximum Integer
    The maximum port number.
    minimum Integer
    The minimum port number.
    maximum number
    The maximum port number.
    minimum number
    The minimum port number.
    maximum int
    The maximum port number.
    minimum int
    The minimum port number.
    maximum Number
    The maximum port number.
    minimum Number
    The minimum port number.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.74.0 published on Monday, Apr 29, 2024 by Pulumi